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…
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…
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,…
WPF ItemsPresenter
In the following XAML: <Window.Resources> <ControlTemplate x:Key="ListTemplate"> <Grid> <ItemsPresenter…
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…
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 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…