I have a path defined as a resource in a resourceDictionary. In the code a rectangle with a transformgroup is defined. There are a few transforms to p ...
I have a path defined as a resource in a resourceDictionary. In the code a rectangle with a transformgroup is defined. There are a few transforms to p ...
Consider the following xaml definition of a UserControl: In the grid's binding above, I'm using ElementName=self, which directs to the control itse ...
I want to achieve themes in my WPF program. I stored the color in the database and then load it into MergedDictionaries. Here are my codes: And h ...
I have the following XAML: <Path Style="{StaticResource squared}" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="-. ...
I am trying to create C# utilities for Maui's initial setup to make sure the setup process isn't scattered across 5 files. For this, I need to convert ...
I have found plenty of examples but none of them worked for me. How do I include the style? this is my project structure: and this is my xaml ...
I have an WPF MVVM app. I have a WPF dictionary.xaml in which I have below style: Then in one of my views, I import the dictionary.xaml and I set ...
I can change the program's FocusVisualStyle with this: I want to give users an option to change it to a different style, but this doesn't work with ...
I have an WPF tooltip defined within a dictionary.xaml that I want to apply to all my items, labels, buttons, etc. I import this dictionary in my view ...
Is there a way of selecting which implicit style is used with in app.xaml of a Wpf project? I am using a nuget package which contains some control st ...
I have a slightly weird input of data that is in this format: So the keys are the unique timestamps (ordered) and the values are a list of the valu ...
I had a dictionary.xaml where I defined the path specified here but I was having compilation error (see error below). As I want to reuse it in other ...
Is there a way to reference a local ResourceDictionary from within the same FrameworkElement's property? I tried the following but get the error ...
I am building a WPF desktop app with .net framework 4.7.2. and need some help for merging resource dictionaries. I have 1 solution with 2 projects: ...
I am working on creating a dark theme ResourceDictionary: I'm trying to calculate the color hex code for different elevations. To do this, I am usi ...
I would like to style the Tooltip of Textboxes which are used for validation. I'm trying to get a rounded corners Tooltip without sucess. How may I ge ...
I have created a .NET MAUI Class Library and a ResourceDictionary containing colors inside of it. When I reference it in the local assembly (Class lib ...
I am currently trying to implement a Dark Mode to my application. I have multiple ResourceDictionaries, one Window and multiple UserControls. In my Ma ...
I have two SDK-style MAUI projects, let's say Project1 and Project2. Project2 has following structure: Colors.xaml has the following code: The g ...
I've got a resource dictionary with several control defined in it (TextBox and Button) that are unrelated to each other. I can access the controls via ...