Top "Styles" questions

DO NOT USE THIS TAG.

Style.DataTrigger on Border background

I have the border below. Why would the Foreground of my TextBlock work correctly but the Background of the border …

wpf xml styles border datatrigger
Can one style a custom Tweet button AND utilise the data attributes?

I am creating a custom Tweet button with my own styles however it seems when you opt for customising your …

twitter styles tweets
WPF GroupBox with no header space

Easy one, I would like to have a GroupBox with no header space The closest thing is a border, but …

wpf styles groupbox
Create style for TextBlock in DataGridTextColumn

I want to create a global style that sets the VerticalAlignment to Center for all TextBlock controls inside a DataGrid …

wpf datagrid styles datagridtextcolumn
How to set an event function via a style?

I have several GUI control elements of which some are supposed to generate the same action (code-behind function call) on …

c# wpf events styles code-behind
Can my WPF Style Setter use a TemplateBinding?

I'm trying to do something like this... <Style x:Key="MyBorderStyle" TargetType="Border"> <Setter Property="BorderBrush" Value="{…

wpf xaml styles templatebinding
Change style of all elements using getElementsByTagName()

I'm fairly new to javascript and have been unable to get this code to work and I am unsure were …

javascript styles visibility getelementsbytagname
WPF RadioButton/ToggleButton styling

I would like to mimic a style for a group of ToggleButtons as in the below image. Only one of …

wpf styles radio-button togglebutton
How To Wpf TabItem Style HeaderTemplate Binding?

How To do Wpf TabItem Style HeaderTemplate Binding? Code: <TabControl x:Name="tabCtrlMain" ItemsSource="{Binding Items}" > <TabControl.…

wpf xaml styles tabitem
Create borders on a android view in drawable xml, on 3 sides?

I want to make a drawable for my Android button, defined as drawable. I found I could set all the …

android styles xml-drawable shapedrawable