In the following code I am trying to set the style of the first item in my collection to one template and the rest to a different template by checking if the PreviousElement is null.I think my relativ
I am trying to update the color of textblock depending on it value. Seems simple however not working.
one of my company\'s applications displays pop ups by means of a content control centered on the screen, which is hidden until needed, and a radial gradient rectangle behind it to block the rest of th
I have found a few examples that relate to WPF, but none for Silverlight. So, what is a working example of setting up a Microsoft.Expression.Interactivity.Core.DataTrigger in code?
I am attempting to expand a Child Node when its parent is expanded. Otherwise stated: (Child.IsExpanded == Parent.IsExpanded)
The goal here would be to check all grid checkboxes if the header checkbox changes: <Window.Resources>
I\'m new to WPF....I have tried implementing controltemplate and datatriggers both for textbox..I want to change the background color of the textbox when the value entered in that is not \"18\" throug
I have a TextBox thats using this Style. I need to add a Focus() method to in this style. So that when the TextBox is Visible and the ValidParent Property is false then i call the Focus() method on th
I would like to have a storyboard started, whenever the value of MyCounterchanges. With a DataTrigger I only can trigger on a specific value.
In the following XAML I\'m using a Rectangle with a Border as the Template for a ToggleButton. I want the BorderBrush to be a different colour to reflect the changing value of ToggleButton.IsChecked.