xaml-styling

The XAML Principle

Of so clear separation of UI is unique to XAML? I mean, you could even customize the entire UI of a 'pre-packaged control/component'... Any light on other technologies that achieve this? ...

wpf shared ResourceDictionary file parameters?

if all Styles and Converters are stored in shared resource dictionary file (styles.xaml), and this file is used from various windows. Is it possible, to pass a parameter to that file, and propagate that parameter to the converters? I am looking for a way to pass a "origin" type parameter, so that the converters could be aware which p...

Styling dynamically added StackPanel child elements

Hi, I have a StackPanel that I dynamically change the contents of every 5 minutes to show the user messages. These messages are displayed as TextBlock or HyperLinkButton. I'm wondering how/if I can set a style within the StackPanels style that will apply to the children. E.g. I've tried <Style x:Key="InfoBarStyle" TargetType="StackP...

Styling Hyperlink inside a TextBlock

One of the columns in my DataGrid contains a Hyperlink in a TextBlock. When a row is selected, the hyperlink shows as blue on blue, so i want to change it's text color to white. How can I do that? The DataGrid looks like this: <DataGrid> <DataGrid.Columns> <DataGridTemplateColumn Header="Title"> <DataGridTemplat...

WPF: Implicit Infragistics Ribbon Styling using BasedOn

Hello, I'm using the WPF infragistics ribbon and I'm trying to work off their styles using the BasedOn attribute. This work well when the x:Key is defined however in the case where I want to override the property on a border located inside an implicit style, what's the best way to do that without duplicating the entire style into my cust...