789 questions with XAML-related tags

Sort by: Updated
0 answers

Strange line appears when Hover in ARM pc

Hi there. I created a UWP application with a command bar and I'm using it on an ARM computer. There is a tiny diagonal line when hovering the icon and in other buttons happen the same error: My code: <StackPanel x:Name="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.
789 questions
asked 2024-07-12T15:03:04.1233333+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
commented 2024-07-19T11:03:21.2566667+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
1 answer

how do I convert an XML file that Visual Studio generates into something useful like a help file

I am trying to find a good way to document my programs and libraries that I create in Visual Studio. I understand how to make the XML comments and generate the XML file. But, then, what can I do with it? I have found various suggestions on the…

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-08T17:18:42.9666667+00:00
Joe Babb 60 Reputation points
answered 2024-07-15T16:42:29.4966667+00:00
Joe Babb 60 Reputation points
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
1 answer

Text inversion in right-to-left languages such as Persian in the Itextsharp Paragraph

First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I want to add Persian text to the PDF headline, but when I do this through the iTextSharp.text.Paragraph class, I get into trouble. I can solve this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 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,710 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,625 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 2021-11-12T23:34:53.513+00:00
رضا جافری 1,296 Reputation points
commented 2024-07-10T08:48:51.74+00:00
Enayatullah 0 Reputation points
1 answer One of the answers was accepted by the question author.

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.
789 questions
asked 2024-07-01T19:15:42.5766667+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
accepted 2024-07-09T11:38:32.19+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
0 answers

Unable to disconnect device on Samsung Android devices when Bluetooth connection is off

I am using the Ble.plugin to connect to BLE devices. However, I am having trouble disconnecting the device when Bluetooth is turned off on Samsung mobile devices. I can successfully disconnect on all other Android devices except for Samsung. Can someone…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 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,625 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-08T13:14:42.7766667+00:00
Sk 61 Reputation points
commented 2024-07-09T01:35:25.4+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,046 Reputation points Microsoft Vendor
1 answer

What is the format in VS 2022 for "Custom Expression"?

In working on a WPF application in Visual Studio 2022, if you expand the property window for Brush, you get the following display. If you click the small down arrow in the Editor tab, you get the following menu: If you select Custom Expression..., you…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,623 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,869 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-04T17:40:34.44+00:00
Nicholas Piazza 536 Reputation points
commented 2024-07-08T01:49:23.2766667+00:00
Hui Liu-MSFT 47,336 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to flatten the XML

Hi have a complex XML structured as per attached below. How can I flatten the XML using XSLT? I have attached the expected sample flatten xml(expected_ouput_flat_oder_xml.xml) based on the complex xml(Order_xml.xml) I provided. I have tried using the…

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-03T09:51:20.1633333+00:00
jn93 671 Reputation points
commented 2024-07-05T09:36:39.54+00:00
Viorel 114.5K 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,625 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
0 answers

How to handle missing nodes when producing flat XML

Hi All, I have XSLT to transform the complex XML to flat XML as per shown below. How can I fine tuning the XSLT coding below to ensure handle the missing nodes. Currently, for example below, the payment info nodes is missing for the OrderID=1. However,…

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-04T06:44:12.2166667+00:00
jn93 671 Reputation points
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,156 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,623 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,625 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-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,551 Reputation points Microsoft Vendor
0 answers

How to apply search in collection view with portion loaded data?

i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 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,625 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-06-24T16:24:32.32+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-07-03T01:42:27.98+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,926 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unable to make full screen splash in .NET MAUI

How can I make splash to display in full screen instead of just at the center of the mobile screen in .NET MAUI? I've tried different base sizes, but not working. Target android version up-to 13. <ItemGroup> <MauiSplashScreen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 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,625 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-06-11T04:27:11.4933333+00:00
Md Mosabbir Alam 20 Reputation points
commented 2024-06-26T09:50:54.4266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,926 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.
789 questions
asked 2024-06-12T19:09:25.5566667+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
commented 2024-06-25T11:50:25.8566667+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
1 answer

VirtualizingStackPanel Scrollviewer height

I am working a uwp app where i used ListView with VirtualizingStackPanel . In my case i am trying create an alternatives for CVS ListView so each item has a ItemsControl (choosen this because it consume less memory and ScrollViewer). Now if i want…

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,625 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-22T06:12:58.1066667+00:00
shriram 90 Reputation points
commented 2024-06-14T01:45:54.5066667+00:00
Junjie Zhu - MSFT 16,551 Reputation points Microsoft Vendor
0 answers

Use same VisualStateGroup in all different ListViewItem style

Hello everyone. I'd like to make my VisualStateGroup unique for all ListViewItem, so that any ListViewItem style, even different, can use the same VisualStateGroup, without repeating in the ListViewItem style. Declare the VisualStateGroup once and all…

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,625 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-06-07T09:38:18.44+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
edited a comment 2024-06-12T19:02:20.54+00:00
Anderson Rodrigues Cavalcante 311 Reputation points
1 answer

How to diable keyboard

I want to disable keyboard using toggle switch and these are my code I don't know what the command is to disable keyboard using toggle Switch. please help me I am beginner in Win UI (C++/CX & C++/WinRT). <! --xaml --> <ToggleSwitch…

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,628 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
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,928 questions
asked 2024-06-08T14:59:37.5266667+00:00
Raman Singh 0 Reputation points
commented 2024-06-12T01:49:59.4466667+00:00
Minxin Yu 10,871 Reputation points Microsoft Vendor
1 answer

Intellisense not working in XAML VS 22 17.10.1

I am using VS 22 17.10.1 and I am having trouble with Intellisense. I don’t get autocomplete for the Avalonia AXAML files. If I go to Tools=>Options=>Text Editor=> XAML in VS I see that the Statement Completion area is completely disabled and I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,869 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-06-05T11:42:51.9433333+00:00
Lyubomir Radev 0 Reputation points
commented 2024-06-07T02:41:58.5966667+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

What is the best way for customizing TitleBar in WinUI 3?

What is the best way for customizing TitleBar in WinUI 3? I used to customize in this way: 1.using window.Extend... and window.SetTitlebar(element); 2.using window.AppWindow.Extend... now there is a new way for customizing titlebar…

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 2023-11-10T14:50:42.9966667+00:00
Mahdi Hosseini 135 Reputation points
answered 2024-06-06T14:28:38.25+00:00
Jay Paans 0 Reputation points
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