datatrigger
WPF DataTrigger vs .Net Property
I am using MVVM pattern and have a scenario where I need to hide a control based on some functional logic.[详细]
2023-02-20 18:33 分类:问答datatrigger causing button to be misaligned
When I remove this style from a button it displays properly.When I don\'t, it pushes all the other 开发者_C百科buttons in the row down by approx 5 pixels.[详细]
2023-02-15 22:25 分类:问答Is it possible to use Triggers on Grid RowDefinitions?
I have a grid whose rows need to be resized dynamically based on the view model.I\'d like to do something like the following:[详细]
2023-02-13 08:47 分类:问答Can you clear a dependency property in a trigger? [duplicate]
This question already has an answer here: Closed 11 years ago. Possible Duplicate: Is it possible to use a setter to return a property to its default value?[详细]
2023-02-10 06:08 分类:问答Set IsEnabled Property of ComboBox Based on SelectedItem
I want to enable/disable a ComboBox based on if there is an item selected in another ComboBox. I was able to get it working by setting a trigger on the Style, but that overrides my custom global style[详细]
2023-02-10 02:35 分类:问答WPF Data Trigger not working - ComboBox selected index is not getting set to 0
I want to set the SelectedIndex of ComboBox to 0when the SelectedItem it is bound to is null by using DataTrigger. But it is not working. Where am I going wrong?[详细]
2023-02-09 03:57 分类:问答Silverlight/Blend Datatrigger/EventTrigger STRANGE issue
My usercontrol contains 3000 NewDotControls in an itemscontrol. The ControlTemplate for NewDotControl is specified in a style that defines the visualstates and there is an eventtrigger that invokes a[详细]
2023-02-06 22:49 分类:问答WPF Animation with datatriggers
I have a rectangle which I am animating the backround colour of. It should change to green each time a particular number goes up. And red when it goes dowm. If the number doesn\'t change for a while[详细]
2023-02-02 19:31 分类:问答DataTrigger on WPF Animation
My application has a few background worker, each doing different work. When I click the \'Start\' button, all backgroundworker will start simultaneously.[详细]
2023-01-31 04:17 分类:问答WPF: Can not find the Trigger target 'cc'. The target must appear before any Setters, Triggers
what is wrong about the following code? I get this error during compilation: The property \'TargetName\' does not represent a valid target for the \'Setter\' because an element named \'cc\' was not[详细]
2023-01-30 23:31 分类:问答