ValueSource.BaseValueSource 属性

定义

获取 BaseValueSource 枚举的值,该值报告向依赖项属性系统提供值的源。Gets a value of the BaseValueSource enumeration, which reports the source that provided the dependency property system with a value.

public:
 property System::Windows::BaseValueSource BaseValueSource { System::Windows::BaseValueSource get(); };
public System.Windows.BaseValueSource BaseValueSource { get; }
member this.BaseValueSource : System.Windows.BaseValueSource
Public ReadOnly Property BaseValueSource As BaseValueSource

属性值

枚举的一个值。A value of the enumeration.

注解

如果强制或动画作用于属性, 则基值不是有效的值。The base value is not the effective value if either coercion or animation is acting on the property. 如果IsAnimatedIsCoerced确定基值是否为有效的值, 请选中 "与"。Check IsAnimated and IsCoerced if you want to determine whether the base value is the effective value.

您可能还需要检查IsExpression基值是否计算出了表达式的值。You might also want to check IsExpression to see if the base value was evaluated out of an expression.

适用于

另请参阅