784 questions with XAML-related tags

Sort by: Updated
0 answers

WPF ItemsPresenter

In the following XAML: <Window.Resources> <ControlTemplate x:Key="ListTemplate"> <Grid> <ItemsPresenter…

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.
784 questions
asked 2024-03-24T03:38:34.23+00:00
Sam of Simple Samples 5,521 Reputation points
0 answers

WPF rendering issue on any machine

Please follow this steps to catch problem on your machine. Please, help me resolve it. Create empty WPF project. Use property CacheMode="BitmapCache" in MainWindow's Grid; Show MainWindow on start application, then hide it. Show new any…

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,705 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.
784 questions
asked 2021-03-01T02:00:48.117+00:00
Andrey Nasonov 21 Reputation points
commented 2024-03-20T09:34:05.7333333+00:00
David Šeda 5 Reputation points
1 answer One of the answers was accepted by the question author.

Localize a DatePicker on Android using .Net Maui

Hi , i'm working with .net Maui 8 , and i want to use datepicker. it display name of days, months in English or i want it in french. i refer to learn page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/datepicker?view=net-maui-8.0 …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2024-03-18T12:19:47.7466667+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-03-19T09:39:04.96+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
1 answer

NET MAUI V8.0 App - Issues with XAML page and await client.GetObjectAsync() for AWS S3 bucket

Hello, I am working on a NET MAUI V8 App that uses AWS S3 for file access. However, I am experiencing weird behavior when executing the following line of code: using (GetObjectResponse response = await…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2024-03-14T22:47:23.2366667+00:00
Riffy 276 Reputation points
answered 2024-03-18T06:33:58.2966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
2 answers

WPF/XAML Add Item not working in C# Library Shared Project - VS 2022 V17.6.3

I am working on a .net 4.8 c# library project and I am using a Shared Project within it to help with versioning. When I attempt to add a WPF User Control under the shared project, it is not an available template. If I create it under one of the other…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 questions
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,705 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.
784 questions
asked 2023-06-16T19:15:45.87+00:00
Sean Page 0 Reputation points
edited an answer 2024-03-17T02:14:10.1633333+00:00
Sean Page 0 Reputation points
3 answers One of the answers was accepted by the question author.

Windows Presentation Foundation (WPF) end of life

Hi All, I would like to know if anyone has any information on future roadmap for WPF. Is there any date for microsoft retiring WPF and removing future support? Thanks in advance Narayanan

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,705 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.
784 questions
asked 2022-12-19T17:50:51.293+00:00
Narayanan Subramanian (Nara) 26 Reputation points
edited a comment 2024-03-13T19:02:54.3933333+00:00
Jan Bensch 0 Reputation points
1 answer

NET MAUI - MediaElement - Not playing Audio Files stored on Google Drive

Hi I am using MediaElement to play Audio Files (.mp4) that are stored on my Google Drive,. But this is failing with error: [0:] MediaManager: Error: Error codename: ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED, Error message: Source error The following is a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2023-03-19T20:01:32.4066667+00:00
Riffy 276 Reputation points
commented 2024-03-12T21:30:03.59+00:00
Marian Adrian Grigore Grigore 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to use TextBlock focus to allow Screen reader / Narrator application reads the content

We are using custom TextBlock control in our app to display the descriptions to our users. Using Keyboard 'tab', the focus is not received, and the screen reader / Narrator application does not read the content. Are there any solutions to address this…

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,567 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.
784 questions
asked 2024-03-06T13:16:03.9066667+00:00
Arunachalam, Senthil (External) 20 Reputation points
accepted 2024-03-11T09:31:06.3466667+00:00
Arunachalam, Senthil (External) 20 Reputation points
0 answers

TreeViewDragItemsCompletedEventArgs.NewParentItem null

Hi, I added an event handler for the TreeView.DragItemsCompleted event, and the eventargs' NewParentItem is always received as null. The item was dragged within the tree onto another node in the tree.

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.
784 questions
asked 2024-03-07T12:27:06.5033333+00:00
Shimmy Weitzhandler 246 Reputation points
1 answer

How to access or share resource dictionary between MAUI application and library

I have a ContentPage in a MAUI library which is referring to a color defined in the resources of the App.xaml which is in the main MAUI project. ContentPage in Library uses: BackgroundColor="{StaticResource White2}" App.xaml in the MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2024-03-06T06:16:00.61+00:00
Anil Joseph 0 Reputation points
commented 2024-03-07T06:11:05.2066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

Converting the PDF to a bitmap image corrupted the text content of the PDF.

I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted.  PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 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,567 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.
784 questions
asked 2024-03-04T19:42:32.9566667+00:00
Vikram Devaraj 0 Reputation points
commented 2024-03-05T02:47:00.89+00:00
KOZ6.0 6,300 Reputation points
1 answer One of the answers was accepted by the question author.

WinUI - MessageDialog in App.xaml.cs does not work

Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…

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,705 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.
745 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.
784 questions
asked 2022-03-04T08:03:30.063+00:00
Andreas Mazatis 131 Reputation points
edited a comment 2024-02-28T21:10:12.1066667+00:00
Enrique Ballarin 0 Reputation points
3 answers

Can i run .NET 6.0 WPF app on Linux ?

i am developing a WPF application using the last .NET 6.0 version and VS22 which is declared as cross-platform so can I run the same WPF app developed on .NET 6.0 and VS22 on Linux UBUNTO 20.4 ? i saw only example of running Console app ?

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.
784 questions
asked 2022-08-01T13:34:20.82+00:00
Rasem Fadela 1 Reputation point
answered 2024-02-25T14:34:13.5266667+00:00
MikeCodesDotNET 0 Reputation points
2 answers

How to make narrator do not repeat the sentence when off/on content is set at toggle switch in UWP?

I am currently implementing a custom ToggleSwitch in UWP based on Microsoft's template. However, I've encountered a peculiar bug related to the narrator behavior, which seems to be resolved in WinUI 3 but persists in UWP (WinUI 2). I'm seeking assistance…

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.
784 questions
asked 2024-02-06T19:34:27.0933333+00:00
Henrique Andrade Mariz 10 Reputation points
commented 2024-02-22T03:32:22.13+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

WinUI - Event to Check if High Contrast was chosen

I have a WinUI application and I need to check if the user change the OS theme to High Contrast. I got this error when signed this event to identify if HighContrast was set. It is the same event to UWP, but in WinUI this error happens.

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.
745 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,567 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.
784 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,778 questions
asked 2024-02-19T19:10:24.79+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
commented 2024-02-20T19:58:28.58+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
0 answers

How to use different Data Types in a Custom Control

I have a Custom NumericUpDown control in my WPF C# .NET 8 application that is working nicely, But now i want to update it so that it can use different Numbers DataTypes like int and decimal so that i can re-use my custom NumericUpDown control instead of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 questions
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,705 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,567 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.
784 questions
asked 2024-02-13T08:49:57.5066667+00:00
Mesh Ka 345 Reputation points
commented 2024-02-19T08:20:52.9633333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xaml and column format in CollectionView

Hi Friends, I have this CollectionView below where my columns are not left aligned properly. How do I clean this up so that my labels in the columns are aligned correctly. Thanks ! Screenshot 2024-02-12 104906.png …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2024-02-12T16:51:53.02+00:00
Ronald Rex 1,666 Reputation points
accepted 2024-02-14T04:28:01.8666667+00:00
Ronald Rex 1,666 Reputation points
1 answer One of the answers was accepted by the question author.

problem with Custom ComboBox not raising notification changes during SelectedItem change

Hi, in my wpf C# .net 8 application i have a custom Control composed of a Label and ComboBox, the problem i am experiencing is that the Custom Control's ComboBox doesn't raise the SelectedItem change in the ViewModel, then i decided to test it with a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 questions
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,705 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,567 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.
784 questions
asked 2024-02-11T12:31:17.0866667+00:00
Mesh Ka 345 Reputation points
commented 2024-02-11T18:00:13.8333333+00:00
Mesh Ka 345 Reputation points
0 answers

I want to turn on the PC from sleep mode on windows 10/11 programmatically in WPF (.net framework) C# application. How to achieve it ?

I want to perform windows sleep turn on and then wake up the PC after some time say 2 days later. I have two options :- Either programmatically sleep the pc and wake it up later automatically(but it requires manual entering of password to pc after…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,570 questions
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,705 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,567 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.
784 questions
asked 2024-02-01T07:10:15.0166667+00:00
Vishal2 Bansal 85 Reputation points
edited a comment 2024-02-08T16:56:58.9766667+00:00
Heiko 1,216 Reputation points
2 answers One of the answers was accepted by the question author.

How to bind a attached property in MAUI(XAML)?

A simple label <Label x:Name="llll" FontSize="16" extensions:CommandParameterHelper.Parameter="content" Text="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,139 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,567 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.
784 questions
asked 2024-01-19T10:55:13.21+00:00
尼龟 杰 150 Reputation points
accepted 2024-02-08T13:21:51.13+00:00
尼龟 杰 150 Reputation points