762 questions with XAML-related tags

Sort by: Updated
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.
2,853 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,218 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.
762 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 40 Reputation points
commented 2024-04-23T11:19:22.6466667+00:00
Влад Тигинян 40 Reputation points
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,218 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.
762 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
0 answers

How to Make Span Text/content Wrapped if it exceeds?

Here if my account number exceeds the numbers from last get cut/disappear. So I used LineBreakMode to WordWrap in label but this is also not working here. <Label FontFamily="InterstateRegular"> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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.
762 questions
asked 2024-04-15T09:49:12.2+00:00
Pratap Singh, Ayush 20 Reputation points
commented 2024-04-16T05:44:37.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,121 Reputation points Microsoft Vendor
3 answers

MVVM datagrid comboboxes are not displaying the initial values and the moderator dropdown list needs to be unique

Based on my last request from this community and I got the POC working.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,355 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,669 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,218 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.
762 questions
asked 2024-04-06T18:45:14.3233333+00:00
Yvon 50 Reputation points
commented 2024-04-13T07:02:21.7566667+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
22 answers One of the answers was accepted by the question author.

How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?

I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,355 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,669 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,218 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.
762 questions
asked 2024-02-22T18:34:30.8433333+00:00
Yvon 50 Reputation points
edited an answer 2024-04-12T16:51:38.34+00:00
Yvon 50 Reputation points
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.
762 questions
asked 2024-04-12T16:35:05.5933333+00:00
TCH 6 Reputation points
2 answers One of the answers was accepted by the question author.

[WPF] HttpClientHandler SendAsync Call Never Getting HTTP Response Back

Our project is developed with WPF C# with Target framework version of .Net Framework 4.6.2. We were trying to do a POST call using HttpClientHandler, But we didn't get any response or the status back. The application stays hanged, Didn't…

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,669 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,218 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.
762 questions
asked 2022-03-11T05:55:35.95+00:00
Magi 21 Reputation points
commented 2024-04-12T07:45:46.3433333+00:00
Gabor Hollosy 0 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,292 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,593 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.
762 questions
asked 2024-04-07T14:36:19.0533333+00:00
tim 80 Reputation points
accepted 2024-04-08T23:09:42.18+00:00
tim 80 Reputation points
0 answers

About automatic suggestion and completion of XAML codes on Visual Studio Code

Hello I installed the Visual Studio Code application on my computer. I generally work on C#. But I have a problem. When developing a WPF project and working in XAML files, suggestions of XAML codes are not completed by the compiler in CS files as in C#…

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,669 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,218 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.
762 questions
asked 2024-03-24T20:52:48.8666667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-08T05:59:10.4966667+00:00
Jiale Xue - MSFT 31,196 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,355 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.
723 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.
762 questions
asked 2024-03-19T17:01:43.8666667+00:00
arunkumar.mr 20 Reputation points
accepted 2024-04-02T09:25:42.06+00:00
arunkumar.mr 20 Reputation points
1 answer

Binding to command defined in viewmodel not working using CommunityToolkit.Maui

I have a MAUI app that I am using CommunityToolkit.Maui to implement the MVVM pattern. I have the XAML markup with the code-behind and a view model in which I define a set of methods attributed with [RelayCommand]. In the XAML, I am creating a label with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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.
762 questions
asked 2024-03-27T20:34:33.74+00:00
DRutter 1 Reputation point
answered 2024-03-28T08:47:47.0466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

Is it possible to write new attached property like Validation.Errors, say MyValidation.XYZ

Hello, I would like to use some set of my own different attached properties not defined in Validation.cs. Actually I've tried all known possible ways including AddValueChanged for existing public Validation.<DependencyProperty>, but no have no luck…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,355 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,669 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,218 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.
762 questions
asked 2024-03-25T15:29:46.77+00:00
Alexander Landa 0 Reputation points
commented 2024-03-26T14:17:27.8+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
0 answers

Why so that when I set the Flyout behavior for one page it afects the wholle app

When Im setting the Flyout behavior to not appear on thr login page it gets disabled in the whole app, strager of all is that if I disable gesture navigation, if I pull on the side of the screen it appears, plus if i tap on the flyoutitem the flyout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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.
762 questions
asked 2024-03-22T14:32:46.2766667+00:00
Felipe Gai 0 Reputation points
commented 2024-03-25T06:53:22.28+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

How does one disable the Shell Flyout menu button (upper left, by back button) only on a certain Content Page?

This is how I've disabled the back button on my "LoginPage.xaml". <Shell.BackButtonBehavior> <BackButtonBehavior IsVisible="False" IsEnabled="False" /> </Shell.BackButtonBehavior> Clearly,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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.
762 questions
asked 2023-04-16T20:37:48.9966667+00:00
Daniel Donnelly, Jr 86 Reputation points
commented 2024-03-24T14:51:49.7366667+00:00
Nilson Claiton Morgenstern 0 Reputation points
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.
762 questions
asked 2024-03-24T03:38:34.23+00:00
Sam of Simple Samples 5,516 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,669 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.
762 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,355 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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,218 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.
762 questions
asked 2024-03-18T12:19:47.7466667+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
commented 2024-03-19T09:39:04.96+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 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.
2,853 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,218 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.
762 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.) 26,146 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,355 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,669 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.
762 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,669 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.
762 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