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 設計工具擴充性

屬性編輯架構