How Can i add a "AddNew" button at the end of drop downs in a Custom ComboBox Control?
I have a custom control with a ComboBox. I want to add a button at the end of the drop-down list that says "AddNew," such as "AddNewStudent," which, when clicked, opens a form to register a new student. Since I expect to create many…
Picker used in Popup not inheriting color brushes
Hello, I'm styling my Pickers as described in one comment here: https://github.com/dotnet/maui/issues/13418 <maui:MauiWinUIApplication.Resources> <SolidColorBrush x:Key="ComboBoxItemForegroundPointerOver"…
How can I create a custom Picker with grouped items?
I'm looking to create a custom Picker that can group items between 'Recently Used' and 'All Items,' as shown in the attached image. Are there any ideas or examples on how to implement this custom Picker? Thanks in advance.
How to claims admin permission in wpf for app store
The app needs admin permission to be launched properly. In app.manifest, set requireAdministrator. Feedback run errors after submission. The product crashes at launch with error message "The request is not supported." How should I…
Converting UserControl and Code-Behind to Style and Dependency Property
How can I convert a customNumericUpDown created using a UserControl and Code-Behind to a ResourceDictionary and a C# class where all the DependencyProperties are defined? I want to copy and paste the ResourceDictionary into Themes.Generic.xaml. While I…
How to smaller the page area in maui shell app?
How can I smaller the page area and add a control like the image?
Binding a CustomDateControl to Data Model in WPF C#
Hi, I created a CustomDateControl to Collect Partial Date from my Users by Collecting Year, Month and Date each on a separate textbox Inside a One TextBox Respectively. I know that it is not a good idea to Skip DateTime DataType usage for Dates, but My…
How can I correctly bind a ComboBox in my custom Control to its dependency property in a WPF C# application?
I have a ComboBox in my custom Control, and I want to bind its "Text" and "Converter" properties to their dependency properties correctly so that I can reuse the custom Control. In some instances, I want to use ComboBoxItems as the…
Converting XAML file to .dll file
I want to build each XAML file in my project as a .dll.
Customizing the appearance of a Persian DatePicker (JalaliDatePickerControl)
I have a Persian DatePicker that works properly, and I only want to add to it some public properties to customize its appearance. What I'd want to add is as follows: Background BorderBrush CornerRadius I want to be able to access these three…
How can i Create a three in one TextBox in WPF C# that Shows a FullName?
How can i Create a TextBox in WPF C# that Shows a FullName when not Clicked and when Clicked Shows 3 Textboxes inside the FullName TextBox that Displays FirstName, SecondName, LastName respectively? Like This One: الاسم - is a Hint meaning…
how can i add a 'shell level' control?(customizing tabbar)
like the gif, no matter how i toggle page , the 'shell level' control always keep the same.
How can i implement Data Binding Properly for this customTextBox in WPF using C#?
I created a TextBox that displays the full name (FirstName, MiddleName, LastName) of a customer in my WPF C# application, but splits it into individual textboxes when the FullName TextBox gains keyboard focus. The implementation I tried was successful…
How do I get a drawing context from a Microsoft::UI::Xaml::control::panel the draw using a 3d rendering api like opengl or vulkan?
How do I get a drawing context from a Microsoft::UI::Xaml::control::panel the draw using a 3d rendering api like opengl or vulkan
In WPF C#, How can i make a Custom TextBox that has label that acts like 'Hint' in materialdesginfloatinghintTextBox?
Hi Everybody, I wanted to Create a Custom Control in WPF C# that is Composed of a MaterialDesignFloatingHintTextBox which 'IsFloating' property is set to 'False' and a Label above the textbox that behaves like a Floating Hint, for the label i wanted it…
Bind View Model Property To User Control Dependency Property
Hello Guys! I am fairly new to the WPF eco system, but i already made some functioning dependency properties inside user controls, which can be bound successfully, and which updates, when the bound property inside the view model changes. For now i just…
C# WPF DataGrid column header style error Cannot find source: RelativeSource FindAncestor
I'm using C# WPF .NET Core 6 also Material Design Theme nuget, I have problem with DataGrid's Column Header Style I have Set a Style for Column Headers of my DataGrid App.xaml : <Application.Resources> <ResourceDictionary> …
CrispImage draws empty area when using VS image service and catalog
I wanted to use the MS Visual Studio Image library for my project and do it in the recommended way using the image service. Therefore I followed the cook book on…
I cannot get data binding to work on WinUI 3 ListView any more.
Yesterday after noon I had this really nice ListView of all the Segoe Fluent Icons. That was a great feat in it's self since the FontIcon cannot bind the text to a Text Glyph code. But once figured out is was great. Woked for quiet a while binding…
.net maui bug visualState on CollectionView
Hello, In my Maui Android mobile application, I have a collectionView that contains ItemTemplates. Each ItemTemplate has a state. I've defined a visualState for the Disabled state on the ItemTemplates. When it's in a certain state, it must be Disabled…