Top "Styles" questions

DO NOT USE THIS TAG.

Applying a WPF Style to multiple controls

This question is probably a duplicate, but I couldn't find it on SO. If I have a container Window, StackPanel, …

.net xaml wpf-controls styles
How do I dynamically bind and statically add MenuItems?

I'm binding the ItemsSource of my MenuItem to an ObservableCollection in my ViewModel. Here is my xaml: <MenuItem Header="_…

wpf xaml styles datatemplate menuitem
Is it possible to use a converter within a style?

Is it possible to use a converter within a style? For instance I am trying to create a styled TextBlock …

c# wpf xaml styles converter
styles multiple inheritance

Is there any way to make a style inherit from multiple other styles, instead of just being limited to: <…

android styles
Style SnackBar in theme app

I need help. How can I change the design of the text in snackbar in styles app? The change in …

android styles material-components material-components-android android-snackbar
WPF Setting the default style on a TextBlock overrides the style for a Label

Setting the default style on a TextBlock causes the style in the Label and other controls to be set as …

wpf styles default font-size textblock
Setting Button Text Color with a Style

I have not been able to set the text color of a Button using a predefined style. I must be …

android xml styles textcolor
Error: 'Cannot create unknown type '{clr-namespace:NameSpace.Properties}Settings'.'

I define my settings and styles in a ResourceDictionary: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:…

wpf xaml styles application-settings wpf-style
How to remove Glow of Button on Mouse hover in WPF

I am using a simple button in WPF. I have put an image for the button on background. My problem …

c# wpf button styles mousehover