DependencyPropertyValueSource.IsInherited 属性

注意:此 API 现在已过时。 非过时替代项是 IsInheritedValue

获取一个值,该值指示此 DependencyPropertyValueSource 对象是否表示一个继承的属性。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
<ObsoleteAttribute("Use DependencyPropertyValueSource.IsInheritedValue instead")> _
Public ReadOnly Property IsInherited As Boolean
    Get
[ObsoleteAttribute("Use DependencyPropertyValueSource.IsInheritedValue instead")]
public bool IsInherited { get; }
[ObsoleteAttribute(L"Use DependencyPropertyValueSource.IsInheritedValue instead")]
public:
property bool IsInherited {
    bool get ();
}
[<ObsoleteAttribute("Use DependencyPropertyValueSource.IsInheritedValue instead")>]
member IsInherited : bool
function get IsInherited () : boolean

属性值

类型:System.Boolean
如果此对象表示一个继承的属性,则该值为 true;否则该值为 false。

.NET Framework 安全性

请参见

参考

DependencyPropertyValueSource 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

WPF 设计器扩展性

属性编辑体系结构