Questions tagged [multidatatrigger]

Represents a trigger that applies property values or performs actions when the bound data meet a set of conditions.

Represents a trigger that applies property values or performs actions when the bound data meet a set of conditions. Used in WPF.

100 questions
0
votes
1 answer

xaml usercontrol multidatatrigger from parent control and itself (usercontrol)

So I'm trying to learn how to dynamically apply style changes to controls. I have not been able to get a user control to change its borderbrush and background based off a radio button in the main window and the usercontrol's text property. Basing…
Daniel Ash
  • 33
  • 3
0
votes
2 answers

MultiDataTrigger make stack panel children visible and colappsed

I have several properites that if that values are true, I want the stack panel children to be visible if true. and collapsed if false. as far as I understood I need to use MultiDataTriigers and condition. however I am not sure where to put the…
0
votes
2 answers

WPF MultiDataTrigger.EnterAction is not working with a custom attribute

I've been trying to get a WPF multi datatrigger to work on triggering a storyboard animation on a customized ToggleButton based of this control http://marcangers.com/animated-switch-togglebutton-style-in-wpf/ . The toggle button is an extension of a…
CGideon
  • 143
  • 2
  • 15
0
votes
1 answer

Use IValueConverter locally inside MultiDataTrigger

I want to create a MultiDataTrigger. Inside one of the conditions I need to use a converter. Since it is only used there, I do not want to define the converter as a resource but only use it locally. So I made this…
Kjara
  • 2,504
  • 15
  • 42
0
votes
1 answer

Changing states of checkbox with even trigger

I have this CheckBox: