Questions tagged [multitrigger]
39 questions
39
votes
2 answers
MultiDataTrigger vs DataTrigger with multibinding
I encountered a situation where I can easily achieve the same functionality by using a MultiDataTrigger or, alternately, using a DataTrigger with a MultiBinding. Are there any substantive reasons to prefer one approach over the other?
With…

mcwyrm
- 1,571
- 1
- 15
- 27
9
votes
1 answer
WPF TextBox.Text with MultiBinding
I've got Custom Control with a TextBox in the default Template.
The Custom Control has these 2 dependency properties (among others):
SelectedValue, NullText (text to appear in the TextBox when nothing is selected and the value is provided)
I'd like…

theSpyCry
- 12,073
- 28
- 96
- 152
7
votes
1 answer
WPF: Condition Binding versus Property, XamlParseException using either
I'm having trouble with a Condition for a MultiTrigger. If I do the following:
Then I get this…

Sarah Vessels
- 30,930
- 33
- 155
- 222
7
votes
5 answers
MultiTrigger: Condition Binding to DependencyProperty doesn't work
I have a custom button MainMenuButton of type UserControl and atm I'm styling it.
Now I wanted to implement a MultiTrigger to only change the appearance of the button if two conditions are met.
The first condition is if IsMouseOver == true.
I simply…

TorbenJ
- 4,462
- 11
- 47
- 84
3
votes
2 answers
Grails - Parameter in a Quartz job Trigger
I have the following quartz job, set via Quartz-plugin:
class UserMonthlyNotificationJob {
static triggers = {
cron name:'dailyTrigger', cronExpression: " ... "
cron name:'weeklyTrigger', cronExpression: " ... "
cron…

Alexandre Bourlier
- 3,972
- 4
- 44
- 76
3
votes
1 answer
WPF - MultiTrigger in ControlTemplate, strange behaviour
Okay, I've not done much WPF lately and this is confusing me.
I have a Style defined for RadioButton, which uses a ControlTemplate with a MultiTrigger. The gist is that I want a Border to become opaque when the mouse either hovers over it or when…

EightyOne Unite
- 11,665
- 14
- 79
- 105
2
votes
1 answer
How to use row index as a condition in a multitrigger for a DataGridCell style in WPF XAML?
I want to know how to use the row index as a condition in the same way the column index is used in the code below: