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

Sort by: Updated
0 answers

How to convert HTML to RTF file and RTF to HTML file in C# UWP?

When I attempt to convert HTML to RTF and RTF to HTML files, I cannot find the Microsoft Native Library needed for conversion. Could you please assist?

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,418 questions
asked 2024-05-13T09:16:23.5333333+00:00
Jay 60 Reputation points
commented 2024-05-14T05:42:01.8833333+00:00
Jay 60 Reputation points
0 answers

UWP DataGrid Scrollbar Issue: Unable to Scroll Using Touch on Touch Screen Devices

I'm developing a UWP app and I'm utilizing the DataGrid control from Microsoft.Toolkit.Uwp.UI.Controls to display data. While I can scroll using the mouse using both the scrollbar and its buttons, on a touch screen device, I can only scroll via finger…

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.
773 questions
asked 2024-05-11T10:28:59+00:00
Hardik Rathod 20 Reputation points
commented 2024-05-13T02:53:51.8133333+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
1 answer

How do i make a universal uwp maps, google earth gps app on microsoft visual studio community 2019 to put onto the Microsoft store

How do i make a universal uwp maps, google earth gps app on microsoft visual studio community 2019 to put on to the Microsoft store

Universal Windows Platform (UWP)
asked 2020-10-13T14:06:49.463+00:00
Anonymous
commented 2024-05-12T05:36:32.6166667+00:00
Luke Ferguson 76 Reputation points
1 answer

Anyway to bypass control event firing during Page.Loaded event?

Simplified scenario: <ToggleButton x:Name="fuzzySearchToggle" Checked="fuzzySearchToggle_Checked" Unchecked="fuzzySearchToggle_Checked"/> bool _loading = true; private…

Universal Windows Platform (UWP)
asked 2024-05-07T15:29:15.5566667+00:00
杨岑 166 Reputation points
edited an answer 2024-05-10T09:12:07.5966667+00:00
杨岑 166 Reputation points
1 answer One of the answers was accepted by the question author.

How remove focus borders of TextBox?

I personally don't like the thick borders when a TextBox gets focus. Is there any way to remove it?

Universal Windows Platform (UWP)
asked 2024-05-09T14:21:55.8366667+00:00
杨岑 166 Reputation points
commented 2024-05-10T08:53:23.6666667+00:00
杨岑 166 Reputation points
1 answer One of the answers was accepted by the question author.

How show/select a file in File Explorer using code?

Suppose I have a ListView that displays some files. When the user select one, I want to reveal the file in File Explorer. Is this possible in UWP?

Universal Windows Platform (UWP)
asked 2024-05-09T14:25:28.1466667+00:00
杨岑 166 Reputation points
edited a comment 2024-05-10T08:51:54.82+00:00
杨岑 166 Reputation points
0 answers

How do I make a list of button functions to Choose Default Search Engine uwp app made on visual studio 2022

How do I make a list of button functions to Choose Default Search Engine uwp app made on visual studio 2022

Universal Windows Platform (UWP)
asked 2024-05-02T04:45:13.0833333+00:00
Luke Ferguson 76 Reputation points
commented 2024-05-10T07:35:39.0266667+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
0 answers

How do I make a add new tab button for a uwp web browser app made on visual studio 2022

How do I make a add new tab button for a uwp web browser app made on visual studio 2022

Universal Windows Platform (UWP)
asked 2024-05-01T06:31:05.5966667+00:00
Luke Ferguson 76 Reputation points
commented 2024-05-10T07:17:00.49+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Display HTML output in RichEditBox in C# UWP

This is a RichTextEditor, and I want to display HTML output. Is it possible? As seen below ss here is display HTML content as a string in Richtexteditor. Please Help if we have any solution for this Sample string: "Dear…

Universal Windows Platform (UWP)
asked 2024-05-09T07:19:57.2533333+00:00
Jay 60 Reputation points
commented 2024-05-10T05:10:39.7066667+00:00
Jay 60 Reputation points
0 answers

Help with porting service to UWP

Hello, I'm new into developing UWP apps, but I have tons of experience with C/C++, python, PHP, etc. Programming concepts aren't new to me. I'm developing an application for UWP called "OllamaUWP". This app is designed to be run on the Xbox…

Universal Windows Platform (UWP)
asked 2024-05-08T21:36:04.3766667+00:00
objnull 0 Reputation points
commented 2024-05-09T01:40:27.94+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

TextBlock and TextAlignment=TextAlignment.Justify

Hello, I have such issue: When I set TextBlock.TextAlignment as TextAlignment.Center, the TextBlock's mouse events arent fired. If I set other TextAllignment all works Code below: XAML <Canvas x:Name="cnv"> …

Universal Windows Platform (UWP)
asked 2024-04-30T11:26:15.7066667+00:00
BitSmithy 1,911 Reputation points
accepted 2024-05-08T12:07:55.0433333+00:00
BitSmithy 1,911 Reputation points
0 answers

How to apply Width and Height of Text on CanvasDevice's DrawText, that means some text width is too small some text too high how to calculate this and apply

//JSON file "Templates": [ { "TemplateID": "1", "TemplateName": "WHITE", "CardFeeder": "A", "Sides": [ { "Side":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,418 questions
asked 2024-05-07T02:46:56.3133333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:48:34.69+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
0 answers

How can I find the Text (width/length/ending point) in CanvasDevice via CanvasDrawingSession

fontFamilyName = $"ms-appx:///Assets/HelveticaNeue-Bold.ttf"; CanvasTextFormat FNtextFormat = new CanvasTextFormat { FontSize = CardTheme.FN.FS, …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,418 questions
asked 2024-05-07T06:55:28.0533333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:35:54.9333333+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
0 answers

I'm trying to release this uwp app on visual studio 2022 but it won't run I get this problem as shown from screenshot

I'm trying to release this uwp app on visual studio 2022 but it won't run I get this problem as shown from screenshot

Universal Windows Platform (UWP)
asked 2024-05-01T09:10:21.9+00:00
Luke Ferguson 76 Reputation points
commented 2024-05-06T03:14:36.53+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
1 answer

Any way to specify binding source datatype?

I have Microsoft.Toolkit.Uwp.UI.Controls.DataGrid package in my project. Given the following XAML: <toolkit:DataGrid x:Name="resultDataGrid" <!-- How specify datatype of ItemsSource without specifying ItemsSource? --> …

Universal Windows Platform (UWP)
asked 2024-04-29T12:16:51.65+00:00
杨岑 166 Reputation points
commented 2024-05-04T10:39:51.3966667+00:00
杨岑 166 Reputation points
2 answers

How to get current memory usage by OS/device in a UWP Windows10 app programmatically?

Hi Everyone, I am working on a Windows 10 UWP app and I am trying to get to current memory usage by OS in an app like we see the memory in task manager. I am unable to find a solution. Did anyone come across such a requirement or worked on it? Please…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,871 questions
Universal Windows Platform (UWP)
asked 2024-05-02T14:09:20.57+00:00
ANURAG24 0 Reputation points
commented 2024-05-03T09:07:29.7766667+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
1 answer

Need help on XAML syntax for ThemeResource and binding in DataTemplate

I have the following code and XAML: class FileCategory { public string Code { get; set; } public string Name { get; set; } } <!-- <Page.Resources> section contains theme resources --> <ComboBox.ItemTemplate> …

Universal Windows Platform (UWP)
asked 2024-04-16T10:06:26.62+00:00
杨岑 166 Reputation points
commented 2024-05-02T03:37:46.72+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
1 answer

How get shell icon of a file in UWP?

In WIN32 SDK, I can call SHGetFileInfo to get the shell icon of a file used by system (used in File Explorer). Is there any equivelant API for this purpose in UWP?

Universal Windows Platform (UWP)
asked 2024-04-28T16:40:31.0933333+00:00
杨岑 166 Reputation points
commented 2024-05-02T01:53:07.6733333+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
0 answers

How do I make a home button for a uwp web browser app made on visual studio 2022

How do I make a home button for a uwp web browser app made on visual studio 2022

Universal Windows Platform (UWP)
asked 2024-04-26T09:31:02.4866667+00:00
Luke Ferguson 76 Reputation points
commented 2024-05-01T06:38:16.7833333+00:00
Junjie Zhu - MSFT 16,071 Reputation points Microsoft Vendor
0 answers

On visual studio community 2022 These numbers circled in blue is that what you call Lines

On visual studio community 2022 These numbers circled in blue is that what you call Lines

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,690 questions
asked 2024-04-30T10:01:02.8633333+00:00
Luke Ferguson 76 Reputation points
commented 2024-05-01T02:52:05.6033333+00:00
Hui Liu-MSFT 44,631 Reputation points Microsoft Vendor