标签:dependency-properties
-
使用依赖项属性和样式触发器时,...不是DependencyProperty - c#
在我的UserControl中: public ODIF.DeviceChannel Channel { get { return (ODIF.DeviceChannel)GetValue(ChannelDP); } set { SetValue(ChannelDP, value); } } public static readonly Dependency […]
-
DependencyProperty中的属性已更改 - c#
在previous post中,我询问如何将属性注册为DependencyProperty。我得到了答案,并且工作正常。 但是现在,我想单击一下就向此DependencyProperty添加一些项。这行不通。我注册DependencyProperty的代码是: public static readonly DependencyProperty ChartEn […]
-
依赖项属性绑定未更新 - c#
我定义了一个依赖属性,如下所示: public static readonly DependencyProperty AnimateColumnWidthProperty = DependencyProperty.Register("AnimateColumnWidthProperty", typeof(double), typeof(M […]