749 questions with Windows App SDK tags

Sort by: Created
0 answers

C:\Users\HMIS>dotnet list sdks The command could not be loaded, possibly because: * You intended to execute a .NET application: The application 'list' does not exist. * You intended to execute a .NET SDK command: No .NET SDKs were found.

every time i try to install SDKs in mywidnows machine its not going through even to open my already created app to open...using System; using System.Reflection; [assembly:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
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.
749 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,137 questions
asked 2024-07-11T22:43:23.2333333+00:00
Isaac Mhango 0 Reputation points
commented 2024-07-12T07:10:22.7333333+00:00
Sander van de Velde | MVP 31,106 Reputation points MVP
2 answers One of the answers was accepted by the question author.

How to remove the clear button at the end of the TextBox in WinUI3

If the TextBox is getting focus and there chars it, there will be a X button appear, so how to remove or hidden the button.

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.
749 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.
789 questions
asked 2024-07-10T09:52:42.2533333+00:00
C CB 150 Reputation points
commented 2024-07-12T02:25:08.8866667+00:00
C CB 150 Reputation points
0 answers

How to fix Expression: m_pAccessor != 0 Debug Assertion Failed!

Debug Assertion Failed! Program: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll File: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\atlmfc\include\atldbcli.h Line: 5198 Expression: m_pAccessor != 0 For…

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.
749 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,604 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,625 questions
asked 2024-07-09T12:58:59.3533333+00:00
Shubham Kshirsagar 0 Reputation points
commented 2024-07-10T07:02:55.27+00:00
Minxin Yu 10,791 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

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.
749 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,604 questions
asked 2024-07-05T08:19:01.0566667+00:00
C CB 150 Reputation points
accepted 2024-07-10T09:27:50.8033333+00:00
C CB 150 Reputation points
2 answers One of the answers was accepted by the question author.

How to set a fixed width for the header of TabViewItem in TabView

There is a TabWidthMode property for TabView to specify the width of the tabs. But I want to set a fix width for each tabs. So how to do it? I have a Style setting for the TabViewItem, but I don't know how to add the Width property into…

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.
749 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,604 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.
789 questions
asked 2024-07-04T02:44:23.1733333+00:00
C CB 150 Reputation points
accepted 2024-07-05T06:08:47.4233333+00:00
C CB 150 Reputation points
1 answer

x:Bind vs TemplateBinding inside ControlTemplate

https://learn.microsoft.com/en-us/windows/uwp/xaml-platform/templatebinding-markup-extension#xbind-in-controltemplate What is the difference between using TemplateBinding and x:Bind inside the ControlTemplate? On the document, it is mentioned that…

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.
749 questions
asked 2024-07-03T09:44:50.88+00:00
guess_me_if_u_can 126 Reputation points
commented 2024-07-09T08:46:08.0233333+00:00
Xiaopo Yang - MSFT 12,226 Reputation points Microsoft Vendor
0 answers

How to customize TabView in WinUI3

How to customize TabView in WinUI3 as follows: Set the header of the selected tab to bold font and red background, and the header of the unselected tab to yellow background. Leave some space between each tab header. Add a red dividing line between…

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.
749 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,604 questions
asked 2024-06-28T02:26:12.2266667+00:00
C CB 150 Reputation points
commented 2024-06-28T03:59:49.8766667+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

In WinUI3, How to make the TabItems load the corresponding page after clicking and selecting them

In WinUI3, TabView has some TabItems. how to make the TabItems load the corresponding page after clicking and selecting them. My codes as following, but they don't work( Just check the second tab). <?xml version="1.0"…

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.
749 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,604 questions
asked 2024-06-27T08:36:37.03+00:00
C CB 150 Reputation points
accepted 2024-06-28T09:13:16.31+00:00
C CB 150 Reputation points
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.
749 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,604 questions
asked 2024-06-25T01:56:14.0933333+00:00
C CB 150 Reputation points
accepted 2024-06-27T01:15:19.66+00:00
C CB 150 Reputation points
0 answers

How to correctly initialize MediaCaptureInitializationSettings for an IP Camera?

Hello, I'm currently attempting to use Windows::Media::Capture APIs in C++/CX to record MP4 streams from an IP Camera. Here is a code snippet I have written: MediaCaptureInitializationSettings^ settings = ref new…

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.
749 questions
asked 2024-06-24T14:57:19.4033333+00:00
commented 2024-06-26T09:23:23.52+00:00
Jeanine Zhang-MSFT 9,431 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.
749 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,471 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Not able to create new object of DesktopWindowXamlSource after closing one

Hi, I'm working on Win32 application with Xaml Island. I'm facing the issue with DesktopWindowXamlSource. If I create two objects of DesktopWindowXamlSource, it's working as expected. However, If I create one object and close it using Close() method.…

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.
749 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,508 questions
asked 2024-06-18T05:49:24.7766667+00:00
Shyam Butani 160 Reputation points
accepted 2024-06-19T10:05:39.8833333+00:00
Shyam Butani 160 Reputation points
1 answer One of the answers was accepted by the question author.

How to set up WinUI3 applications to run as administrators

I'm begging to write WinUI3 application. Administrator privileges are required for certain functions. In the Win-form program, simply configure the following in the app. manifest <requestedExecutionLevel level="requestAdministrator"…

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.
749 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,604 questions
asked 2024-06-07T08:35:00.8433333+00:00
C CB 150 Reputation points
commented 2024-06-13T09:34:52.6833333+00:00
C CB 150 Reputation points
0 answers

Why upon closing an invisible window gives an Error in WinUI3 project?

Hi, I am creating a multi-window application in C++ using WinUI3. To make the application even running if no windows are visible, I am creating an invisible window. During exiting the application, we need to close all the Windows to come out of the…

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.
749 questions
asked 2024-06-05T08:54:34.1433333+00:00
Rohan Pande 420 Reputation points
commented 2024-06-06T02:04:10.2866667+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How can I set a control/element to full screen in WinUI3

I'm using MediaPlayerElement to play video, but there is no full screen button in the MediaTransportControls(but it does exist in UWP). So I think, maybe I can set the MediaPlayerElement or it's parent element to full screen. I tried the ZIndex and…

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.
749 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,604 questions
asked 2024-06-04T02:40:04.7733333+00:00
C CB 150 Reputation points
commented 2024-06-05T08:21:07.0766667+00:00
C CB 150 Reputation points
2 answers

Request targets an app that is not in allowed receiving apps list by WNS

Hello, I have a problem during sending WNS raw notifications to my app on client's computers. I receive this error sometimes, but not for all my clients: 2024-05-29 19:16:06.244 +02:00 [WRN] X-WNS-Debug-Trace: BY3PEPF000195A1 2024-05-29 19:16:06.245…

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.
749 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,882 questions
asked 2024-05-30T16:48:23.7+00:00
Michał Łeptuch 6 Reputation points
edited the question 2024-06-03T06:02:25.5966667+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
1 answer

WinUI3 : How to close all the visible window at once

Hi, I'm working on a WinUI3 desktop application in C++. I'm building a multiwindow application. Is there a way to close all the window at once in WinUI3? One way is to maintain the List of windows ourselves, is there any other way to solve this? just…

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.
749 questions
asked 2024-05-30T12:45:25.59+00:00
Harshithraj1871 1,516 Reputation points
edited a comment 2024-05-31T08:07:11.12+00:00
Harshithraj1871 1,516 Reputation points
1 answer One of the answers was accepted by the question author.

How to create a system notification with ultra long ellipses displayed

Hi I want to display all the text on the system notification, but extra long text shows ellipses. Also need to use line breaks to wrap the displayed text. The code is placed in the following link, and the commented out lines 133 and 134 are the desired…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,040 questions
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.
749 questions
asked 2024-05-28T01:37:25.9666667+00:00
Thomas Zuo 25 Reputation points
accepted 2024-05-29T07:35:49.7466667+00:00
Thomas Zuo 25 Reputation points
0 answers

Performance Discrepancy Between Templated Control and Direct Implementation

I encountered a performance issue while working on a project where I utilized two identical buttons with all properties set the same. The only difference was in the content: one button utilized a PathIcon inside a Viewbox, while the other utilized a…

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.
749 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,604 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.
789 questions
asked 2024-05-24T05:00:57.4466667+00:00
Muthu S 20 Reputation points
commented 2024-05-24T06:24:29.9+00:00
Xiaopo Yang - MSFT 12,226 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can I change the border color of a NavigationView in WinUI 3?

Which property is it in the generic.xaml? I can't even find the TargetType. Lines within the red rectangles.

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.
749 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.
789 questions
asked 2024-05-22T15:53:25.08+00:00
youki 1,016 Reputation points
accepted 2024-06-06T05:47:34.11+00:00
youki 1,016 Reputation points