775 questions with XAML-related tags

Sort by: Updated
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,450 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.
775 questions
asked 2024-06-07T09:38:18.44+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
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,742 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.
775 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,091 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.
737 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.
775 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.
737 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.
775 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
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,450 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.
775 questions
asked 2024-05-22T06:12:58.1066667+00:00
shriram 90 Reputation points
commented 2024-06-03T13:24:37.6066667+00:00
shriram 90 Reputation points
1 answer

How can I change BackgroundColor of CustomLabel in Selected Action State Event CreateCustomLableNavigationState method Similar to ListviewItemSelection Event

<ListView x:Name="listView" ItemsSource="{Binding ItemList}" RowHeight="43" Margin="0,-5,0,0" CachingStrategy="RecycleElement"> <ListView.ItemTemplate> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,310 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.
775 questions
asked 2024-05-30T14:41:47.06+00:00
G, S 0 Reputation points
answered 2024-05-31T05:58:18.93+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,266 Reputation points Microsoft Vendor
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.
737 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,450 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.
775 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 11,741 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Is it possible to bind WPF DataGrid's RowState property to a property in the codebehind collection?

.Net 4.6.1 Given an ObservableCollection OC that is a collection of MyDisplayGrid MDG, and that OC has been set as the DataGrid's ItemSource Is it possible to bind (not display on the grid) the RowState property of the DataGrid to a property of…

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,691 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.
775 questions
asked 2021-12-24T00:03:07.887+00:00
Dave Cotton 41 Reputation points
accepted 2024-05-23T17:21:35.8966667+00:00
Dave Cotton 41 Reputation points
0 answers

PrintTaskOptions throws Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Hi Team, We are trying to invoke a print preview from the stream of PDF documents. While invoking the print preview we are receiving Catastrophic failure from the PrintTaskOptions while creating print preview pages. We have tried the following methods…

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.
775 questions
asked 2024-02-15T13:13:31.89+00:00
ManojKumar 0 Reputation points
commented 2024-05-23T08:05:49.5366667+00:00
Roy Li - MSFT 32,646 Reputation points Microsoft Vendor
0 answers

Visual Studio XAML mobile app, ZIndex is not working

I am working in XAML. I have a page the sets a rectangle with a black background a pixel; border about as wide as a mobile phone. I am trying to place a label in the upper left of the rectangle with a black background and white text. What is occurring…

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.
775 questions
asked 2024-05-21T02:40:35.4266667+00:00
Peter Rung 0 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.
775 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,646 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Webview is not allowing the remaining UI elements to render properly

I have labels, images and button along with webview. When I am landing to this webview page, the remaining UI controls are not rendered(not shown in the UI). When I start scrolling then the UI elements are rendered properly like in attached screenshots.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 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.
775 questions
asked 2024-05-07T09:31:52.57+00:00
Keerthana Krishna 40 Reputation points
accepted 2024-05-08T08:18:57.42+00:00
Keerthana Krishna 40 Reputation points
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,310 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.
775 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 Reputation points
commented 2024-05-07T09:51:55.0966667+00:00
Sk 61 Reputation points
2 answers

MAUI IMAGE LOAD ISSUE USING ASSEMBLY

Hi, I'm encountering a significant problem in my MAUI development. I've developed a MAUI library project, and when I reference it in another MAUI project, everything functions correctly. However, when I attempt to use the assembly or DLL within the same…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,329 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,982 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 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,450 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.
775 questions
asked 2023-11-06T05:36:29.2966667+00:00
SANJAY KUMAR JHA 0 Reputation points
answered 2024-05-06T13:57:08.4566667+00:00
anurag pal 0 Reputation points
1 answer One of the answers was accepted by the question author.

GridSplitter Not Working for Rows

This is just an example to demonstrate my issue so this is the entire XAML: <Window x:Class="MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" …

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.
775 questions
asked 2024-04-30T09:47:04.93+00:00
RogerSchlueter-7899 1,236 Reputation points
commented 2024-04-30T15:06:53.0333333+00:00
RogerSchlueter-7899 1,236 Reputation points
1 answer

How to fix XamlReader.RewrapException(ex, xamlLineInfo, baseUri);

Here is the error System.Windows.Markup.XamlParseException: "'The invocation of the constructor on type 'DentistryOOP.View.MainWindow' that matches the specified binding constraints threw an exception.' Line number '6' and line position…

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,450 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.
775 questions
asked 2024-04-26T10:23:50.44+00:00
commented 2024-04-29T03:22:15.68+00:00
Hui Liu-MSFT 46,951 Reputation points Microsoft Vendor
0 answers

xaml comboxbox textbox lostfocus firing when clicking on combobox dropdown button to expand list

Use case is a value already stored in the control. To remove the value to change it (the list is filtered on the value), the user will backspace or ctrl+Shift Home to highlight and delete the current value. Now the user wants to select a new item from…

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.
775 questions
asked 2024-04-26T13:59:47.5766667+00:00
TCH 26 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin Forms I can not get SelectedItem to run the edit Code

I've tried everything I could find to get a selected row to run an edit code. tried TapGestureRecognizer, Buttons , Selecteditem but nothing happens and the only thing that happens is the background color on the row changes when using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,310 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,742 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.
775 questions
asked 2024-04-07T14:36:19.0533333+00:00
tim 140 Reputation points
edited an answer 2024-04-24T01:43:10.9033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 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,450 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.
775 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 40 Reputation points
commented 2024-04-24T00:59:01.8733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to remove Bottom Border Textbox | UWP

Hello. I have a native TextBox and I'd like to remove this blue border-bottom in Light and Dark: Focus State: Rest: I'd like to remove all these bottom borders. However, if my SO is in High Contrast mode, I'd like to keep these native borders: …

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,450 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.
775 questions
asked 2024-04-19T14:49:44.9933333+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
commented 2024-04-22T23:14:41.38+00:00
Anderson Rodrigues Cavalcante 271 Reputation points