dependency-properties
How to propagate PropertyChanged changes in DependencyProperty
I have a class whic开发者_开发百科h implements INotifyPropertyChanged.An instance of this class is declared as a DependencyProperty in a Window, e.g.,[详细]
2023-03-16 19:45 分类:问答Silverlight: Missing DependencyObject.CoerceValue
In Silverlight there is no DependencyObject.CoerceValue. I am looking for an alternative, to do the following WPF-Code also in Silverlight.[详细]
2023-03-16 13:34 分类:问答Replace a control within a user control through dependency property
I\'ve made a simple project to illustrate my problem. I have a user control (\'ButtonPod\') that houses a button and a rectangle:[详细]
2023-03-16 12:21 分类:问答UserControl ContextMenu binding problem
I have the following control: <UserControl x:Class=\"DNC_v3_0_Admin.Controls.FilterableTreeViewControl\"[详细]
2023-03-16 09:10 分类:问答Silverlight / Blend - How to create FontSize dependency property with dropdown list
In my custom behavior I have created the following dependency property: public double FontSize { get { return (double)GetValue(FontSizeProperty); }[详细]
2023-03-16 01:55 分类:问答WPF Binding to textbox not updating
I have am writing a WPF application, and I have a textbox for the user to enter a frames per second value for video playback. The value of this textbox is bound to a dependency property in the code be[详细]
2023-03-15 17:59 分类:问答In WPF can I manually "reset" or re-test the triggers for a Style?
What I want to do is \'re-test\' a Trigger when an event is fired. This is because the Trigger is binding to the Row.RowState property of a DataRowView, which does NOT fire the PropertyChanged notific[详细]
2023-03-14 03:54 分类:问答Why does BooleanToVisibilityConverter seem to return "Hidden" (not "Collapsed") when passed DependencyProperty.UnsetValue?
I\'ve made a simple viewer of XAML documents that use a number of our own value converters, as well as built in ones, of course. It is expected behavior that there are DependencyProperty.UnsetValue bi[详细]
2023-03-13 13:37 分类:问答How can I find all the target Dependency Properties bound to a Property?
For example: <UserControl> 开发者_如何学编程<TextBox Text=\"{Binding Path=Foo, Mode=TwoWays}\"/>[详细]
2023-03-13 10:28 分类:问答Private WPF dependency property
In my WPF project I need to animate several properties with the same value. So my idea was to create a custom, private dependency property to which the animation will be applied. Unfortunately this do[详细]
2023-03-13 00:51 分类:问答