Content
how to use ForcedSampleCount in DX11.1.
Dear Microsoft Official, I hope this email finds you well. I am writing to seek your guidance regarding the usage of ForcedSampleCount in DX11.1. I have been working on a project that involves DirectX 11.1 and I am currently facing some challenges with…

How to run AI model in a Blazor frontend
Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…
handling enter press on a form
Hi , Can someone pls suggest how to detect if the user presses enter key on his keyboard so that we can capture that event . i don't have and don't want a button(or a hidden button) for that purpose (as the size of the form is too small) .

How can I get the Material You design in my Maui app on Android?
When running my app on android, the controls are of Material design 2, while the latest is 3 - Material You. Can I in some way update the android part of the project to support the latest design?
How to change the default layout appearing when tap to write on entry or search bar in xamarin forms app
When I press to write text on the xamarin forms searchbar a page shown with keyboard and editor and button that fill the full width of screen but I nerd the basic page to show with keyboard on the button like chat or any other search engine I attach the…
Special characters in a textbox
Hi , i have crated a textbox which shows current date . i want that user cannot enter special characters inside that except - or / . can you please suggest how to do it .

Return values from a form
Hi , Which is the best technique to return values from a form and use that in another form . like using a variable or some other way . for example , i have a form with a textbox which returns a value . i want to use that value in the textbox of other…
How to display ContextMenu on certain TreeViewItem and highlight the selected TreeViewItem in WPF following MVVM
Following MVVM, I have developed a TreeView and now I want mouse right click to show ContextMenu on certain TreeViewItem. As you can see in the screeshot, I only want the ContextMenu to be displayed when mouse right clicks on the first level…
minimum rows to display in datagridview
hello , is there a way by which i can set that there must be minimum number of rows is available to display in datagridview regardless of the data it has or not .
WPF custom animation thread
Hello, I have a small simple WPF application (I am learing by doing). I made some custom drawing on a Canvas declared in XAML, by using code in the corresponding C# file. Now I want to access the canvas from another thread to be able to apply geometric…
Gap between Text and underline of label control
Hi , is it possible to increase the gap between the text and underline in a label control . for example , below is a label with underline in vs and this is what i have to
How to fix double permission popup in xamarin ios web view
When I am trying to use camera in a web view, there are two permissions that are asked in iOS. One is the popup created from browser and the other is created from the Phone. Are there are any ways to avoid the browser popup for camera permission? …
Xamarin.Forms building with Pair to Mac XCode 15, building for iOS 17
VS Version 2022 Pro 17.6.5 Xamarin.Forms 5.0.0.2312 XCode 15 Xamarin.iOS 16.4.0.18 - Installed Manually Mac M2 Ventura 13.5.2 I am unable to debug my application on my Visual Studio. Another issue that started happening is I am opening and creating…
The type or namespace name 'Notes' could not be found
Hi, How to resolve such issue, to the line below? using Notes.Models;
Use Azure Function (.Net 6) with JwtBearer middleware
Hello, I couldn't find any official documentation on the following: I want Azure function to use bearer token authentication. Is it possible to use Azure Function (.Net 6) with JwtBearer middleware? So like in an ASP.NET app, set this code into…
Running Xamarin iOS Error simctl returned exit code 4
Hi Three days ago, my app ran well and deployed smoothly to Emulator on my mac until today when I tried to run again, my apps cannot run with the error Error on Visual Studio Severity Code Description Project File Line Suppression State Error error…

.NET Maui support - Splash image size
I'm using .NET Maui and would like to add the splash screen. Now Maui uses a single svg file. Checking the Android documentation, there's a new size for the splash https://developer.android.com/develop/ui/views/launch/splash-screen for Android v12 and…
Event for changing backcolor of form
Hi , suppose if i want to change the backcolor of a windows form by hard coding which is the best event to do it . like load or paint or shown or something else .
How to validate XML dataset when hexadecimal invalid character arrives
I am processing some xml document. while reading xml value through dataset, I am getting below error. System.Xml.XmlException: ''', hexadecimal value 0x02, is an invalid character. Line 1, position 989.' How to avoid this...? How to validate and…
Setting XML Root XMLNS
Hi, Everybody! I need to create a Shipment XML root whose xmlns is the following fictitious XSD URL: http://api.company.com/schemas/api/company-api-vN.xsd. <?xml version="1.0"…