ValueSource.IsCurrent 属性

定义

获取一个值,该值声明是否由 SetCurrentValue(DependencyProperty, Object) 方法设置值。Gets whether the value was set by the SetCurrentValue(DependencyProperty, Object) method.

public:
 property bool IsCurrent { bool get(); };
public bool IsCurrent { get; }
member this.IsCurrent : bool
Public ReadOnly Property IsCurrent As Boolean

属性值

如果由 SetCurrentValue(DependencyProperty, Object) 方法设置值,则为 true;否则为 falsetrue if the value was set by the SetCurrentValue(DependencyProperty, Object) method; otherwise, false.

适用于