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…
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…
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.…
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…
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…
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" …
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…
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…
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…
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…
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: …
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"> …
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.…
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…
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…
[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…
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#…
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…
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…
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…