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
2 answers

Make Image.Source depend on comparison of TextBox and Label values

I have the following XML: Item One 42 and XAML:
mkjeldsen
  • 2,053
  • 3
  • 23
  • 28
0
votes
3 answers

DataTrigger does not fire on a derived class of a Button

We have a ton of Buttons with an Icon and Text across the App, and I am trying to extract a common style for all of them. I came up with this idea of deriving from a Button and have a couple of dependency properties. This custom button class has a…
Shankar Raju
  • 4,356
  • 6
  • 33
  • 52
0
votes
2 answers

Triggers not updating

Here is the psuedo code for what I want to do IF NOT ISDIRTY THEN VISIBILITY EQ VISIBILITY.COLLAPSED IF ISDIRTY AND ISVALID THEN VISIBILITY EQ VISIBILITY.VISIBLE AND COLOR = GREEN IF ISDIRTY AND NOT ISVALID THEN…
Berryl
  • 12,471
  • 22
  • 98
  • 182
0
votes
1 answer

Multi trigger conditions not working on datagrid?

I have the following datagrid and I would like to color out the line where cover = false if the grid is set to read only but not sure how to set up the conditions. The problem seems to be with the first condition where cover = false as if i remove…
soaloa
  • 61
  • 1
  • 7
0
votes
1 answer

WPF - How to bind from two different dataviews into one multidatatrigger in datagrid

I am using MVVM pattern and I have one DataGrid with a column which shows some picture if two boolean values are set to true. One value is in DataView (DtView) which is bind to generate rows and there is no problem with binding, but the other value…
Artholl
  • 1,291
  • 1
  • 19
  • 38
0
votes
1 answer

DataTrigger Error

I am working with some multi-trriggers as per this posting. The binding and error are below. I am using a custom markup extension to display the resource image so it could be suspect but I don't think so since I have used it in styles before. The…
Berryl
  • 12,471
  • 22
  • 98
  • 182
-1
votes
1 answer

WPF TextBox not displaying validation error message

I have bound a validation rule to my WPF TextBox in order to control what user types in. WPF TextBox:
Willy
  • 9,848
  • 22
  • 141
  • 284
-1
votes
1 answer

WPF DataTrigger for ComboBox Item Change

I'm designed a Contact Box in XAML
B.Balamanigandan
  • 4,713
  • 11
  • 68
  • 130
-1
votes
1 answer

Using MultiDataTrigger.Condition from the Settings class

My MultiDataTrigger should change the properties of a TabItem if both values are as expected. One of the values is a Property from the TabItem, the other one is a Properties.Settings.Default property.