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…
![](https://techprofile.blob.core.windows.net/images/ZqYdX_8zbEC9qh3iZyHfLA.png?8DA472)
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…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
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…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
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…
What is criteria to UWP ScrollBars auto-hide when no interactions? Because sometimes, the scroll bar doesn't hide anymore
Hello! Sometimes, the scroll bars inside ScrollViewer compoent doesn't hide anymore. Some cases, the scroll bars auto-hide correctly, but there are some mouse interactions that scroll bars doesn't auto-hide. It's seems a little bug. Please, can anyone…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Visual Studio 2022 Teams Code Review Error on xaml files
On one laptop, in Visual Studio 2022 Teams Code Review (source control is on Azure), when clicking on a .xaml file, the error "Empty path name is not legal" pops up. This only happens when reviewing .xaml files and only on one machine. Any…
How to Bind columns in Datagrid
I want to bind a column dynamically into the datagrid but datagrid does not allow this. I can only add static columns as I share below. <DataGrid AutoGenerateColumns="False" CanUserAddRows="False" …
How to achieve ink replay without losing the original properties of the ink?
I'm trying to implement ink replay in my application, and I'm using the code from this sample application https://github.com/microsoft/Windows-universal-samples/releases/download/MicrosoftDocs-Samples/SimpleInk.zip, and the key content is as follows.…
how to load data from sql database onto an rdlc report with a DataSet Already
i am having a usercontrol that loads my rdlc report in c# like this; DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("Subject1", typeof(int))); dt.Columns.Add(new DataColumn("Subject2",…
![](https://techprofile.blob.core.windows.net/images/q_gDR20z7kmkNi9cJX4FOg.png?8D982D)
MAUI DisplayAlert() When User Closes Window : Getting Unhandled Exception
I want to show an ALERT/POPUP to the user to ask him/her before he closes the Application. This is what I am already doing : In App.xaml.cs Application.Current.MainPage.DisplayAlert this line throws unhandled exception, The Exception…
Set XAML ListBox MaxHeight to height of 10 rows
How can I set the height (MaxHeight) of a ListBox to the height of a specified number of rows, such as 10? Either in XAML or in code-behind. This is for WPF. It seems to be a very simple requirement and should be a common one but I cannot find anything…
![](https://techprofile.blob.core.windows.net/images/FJTzgQFAAwAAAAAAAAAAAA.png?8D9127)
![](https://techprofile.blob.core.windows.net/images/FJTzgQFAAwAAAAAAAAAAAA.png?8D9127)
WPF The refrence is invalid or unsupported
Hi dears, I want to add System.Windows.Forms.dll to my project but it get an error The refrence is invalid or not supported. my project : WPF .net 6/C#/32bit I want to use WindowsFormsHost control <PropertyGroup> …
StaticResource inside MainWindow passing through a Datacontext inside an UserControl and this Datacontext passing through another UserControl
Could you clarify a question about StaticResource and hierarchy? I have MainWindow.xaml (Window) and inside it I call NewChart.xaml (UserControl) through the command <vm:NewChart DataContext="{StaticResource _instance}" /> . I would like…