2,890 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
0 answers

Minimize App when all you have is AppUserModelId

I get all the apps from AppsFolder: `ShellObject appsFolder = (ShellObject)KnownFolderHelper.FromKnownFolderId(AppEntry.AppsKnownFolderId);` ```which I enumerate and display each app in a list (name and icon from the shell object). The user selects an…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
747 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,499 questions
asked 2024-07-05T21:35:14.5066667+00:00
ScottSharp 0 Reputation points
edited the question 2024-07-05T21:46:50.54+00:00
ScottSharp 0 Reputation points
0 answers

Handling of UWP child window closing behavior

Hello UWP experts , I create the child windows from the main app using the below code. The requirement is at the start dont allow the user to close of window and allow only after 10 to 20 seconds. I couldn't find any pre close event for the child…

Universal Windows Platform (UWP)
asked 2024-07-05T14:15:02.29+00:00
DotNET Fan 191 Reputation points
edited the question 2024-07-05T14:15:51.11+00:00
DotNET Fan 191 Reputation points
0 answers

UWP Child Windows Close event

UWP Experts , From the main App , I create child windows from the below code . One of the requirement is to disable the closing of window when it is opened and enable it only after certain seconds. Is there a way to achieve this? I don't see any event…

Universal Windows Platform (UWP)
asked 2024-07-05T13:50:10.35+00:00
DotNET Fan 191 Reputation points
0 answers

How to scroll in the tabs area in TabView in WinUI3 by using code

There are many tabs in a TabView Control in WinUI3 App. I made a function: pin a selected tab to top. After set it to the top (meaning the first tab ), I make it be selected. Everything is ok, but the first selected tab may be hidden if I had previously…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
747 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,574 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2024-07-05T08:19:01.0566667+00:00
C CB 105 Reputation points
commented 2024-07-05T09:44:38.1233333+00:00
C CB 105 Reputation points
0 answers

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
Universal Windows Platform (UWP)
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
651 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2024-07-04T05:13:19.4133333+00:00
Luke Ferguson 41 Reputation points
commented 2024-07-05T08:44:12.8133333+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
0 answers

Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while

My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 questions
Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,574 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2024-06-28T10:13:12.27+00:00
Prem Kumar S 0 Reputation points
commented 2024-07-03T08:06:32.83+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
0 answers

How do I make a uwp app like bom on visual studio 2022

How do I make a uwp app like bom on visual studio 2022 [http://www.bom.gov.au/]

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2024-07-03T02:44:03.4733333+00:00
Luke Ferguson 41 Reputation points
commented 2024-07-03T03:45:38.03+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
0 answers

How to make UWP MediaElement to be loop mode when casting to a TV?

I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…

Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,574 questions
asked 2024-06-28T08:17:01.82+00:00
Tom JD1 Xue 21 Reputation points
commented 2024-07-03T02:34:45.64+00:00
Tom JD1 Xue 21 Reputation points
2 answers

Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.

I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,320 questions
Universal Windows Platform (UWP)
asked 2024-07-02T11:18:30.5366667+00:00
Andrea Christy 0 Reputation points
edited the question 2024-07-03T00:53:25.1266667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
2 answers

What different other types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022

What other different types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
Universal Windows Platform (UWP)
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
651 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2024-04-19T11:03:22.1966667+00:00
Luke Ferguson 41 Reputation points
edited an answer 2024-07-02T14:28:07.8833333+00:00
rbrundritt 16,456 Reputation points Microsoft Employee
2 answers

App testing error

Hello, I attached my app with Windows Store (using option in VS). Next, I made a package. Next, I try to validate It (runing test in VS). I get such error. How to solve such problem. I think that my app is already signed, and I dont know how to sign it…

Universal Windows Platform (UWP)
asked 2024-06-24T19:28:11.2266667+00:00
BitSmithy 1,956 Reputation points
answered 2024-07-02T09:07:59.55+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
0 answers

Windows是否有监听蓝牙配对请求的方式

pc蓝牙与手机配对连接过,但在某一个时刻用户将手机的蓝牙解除配对了,此时pc上要使用蓝牙连接需要先配对,此时是否有接口可以知道有这个配对的请求?

Universal Windows Platform (UWP)
asked 2024-07-02T07:39:33.7633333+00:00
栩 王 0 Reputation points
commented 2024-07-02T08:48:27.6966667+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer

Change RadioButton Color in Combined States - WinUI/UWP

Hello. I'm trying to change the radio button color according to combined states: CheckedPressed, UncheckedPressed, CheckedPointerOver, CheckedDisabled, UncheckedDisabled. How can I do that? I added these states but didn't work.

Universal Windows Platform (UWP)
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2024-07-01T19:15:42.5766667+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
answered 2024-07-02T03:40:54.8533333+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

In UWP or WinUI3, how to use AutoSuggestBox as the search box and highlight the matching keywords in red in the search result list

AutoSuggestBox is a good control in WinUI3. I use it as a search box and display search results. But how to achieve more advanced functions, such as highlighting keywords in the results ( ex, one of the result is 'powered by Microsoft', and only…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
747 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,574 questions
asked 2024-06-25T01:56:14.0933333+00:00
C CB 105 Reputation points
accepted 2024-06-27T01:15:19.66+00:00
C CB 105 Reputation points
0 answers

Set cover image to MediaPlayerElement in C# uwp for audio files

In my C# uwp project, i want to set a cover image to my MediaPlayerElement object, when an mp3 (or other audio file) loaded. I have tried the PosterSource property, but after i have been loaded a file in my mediaplayer, the postersource disappeared. I…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,574 questions
asked 2024-06-14T13:43:15.85+00:00
Tamás Bitó 20 Reputation points
commented 2024-06-26T20:17:45.98+00:00
Milija Ivovic 0 Reputation points
1 answer

UWP NavigationView Selected Item as CommandParameter in MVVM Community Toolkit

UWP/XAML experts , How to set the selecteditem tag value as the CommandParameter in NavigationView SelectionChanged? Using community MVVM toolkit here. In example below the tag value is 3456 and would change dynamically . CommandParameter="{Binding…

Universal Windows Platform (UWP)
asked 2024-06-25T04:49:47.9033333+00:00
DotNET Fan 191 Reputation points
commented 2024-06-26T06:55:09.99+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

Setup app for website without using msix installer (e.g. using .exe installer)

Our application supports apps for websites using app URI handlers. However some older computers or domain computers with certain policies cannot install apps packaged in msix installer. Is there a way to register your app to handle links…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
747 questions
asked 2024-06-19T08:18:31.33+00:00
alberto 0 Reputation points
answered 2024-06-26T06:08:56.1466667+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Change Grid Margin Using Visual State | UWP, WinUI3

I have a grid inside a Style. If this grid has a width > 640 I'd like to change its background for red. If the grid width <= 640 I'd like to change the background for yellow. How can I do it only using xaml, without code behind? Obs: It is the grid…

Universal Windows Platform (UWP)
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2024-06-12T19:09:25.5566667+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
commented 2024-06-25T11:50:25.8566667+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
1 answer

Integrating a new child UWP exe/app in an existing parent UWP app

How can I integrate a new status updater app, which should be part of an existing parent UWP app project and package? The new status updater app will use WinUI libs and UWP xaml libs and be part of the UWP app store app. The parent UWP app should…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,068 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2024-06-01T08:02:20.1466667+00:00
DotNET Fan 191 Reputation points
commented 2024-06-25T03:57:43.9733333+00:00
DotNET Fan 191 Reputation points
0 answers

Using Nuget Package in runtime library

Hello, I have a runtime library, where I have some classes which I use in my apps. One class in the library uses nuget package. I compile the library and attach to my app. Next I try to use the class in the app in Page Loadded event which such…

Universal Windows Platform (UWP)
asked 2024-06-04T08:46:13.94+00:00
BitSmithy 1,956 Reputation points
commented 2024-06-24T09:00:05.38+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor