ContextMenuService.GetShowOnDisabled(DependencyObject) 方法

定義

取得指定物件之 ShowOnDisabled 屬性的值。

public:
 static bool GetShowOnDisabled(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetShowOnDisabled (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetShowOnDisabled : System.Windows.DependencyObject -> bool
Public Shared Function GetShowOnDisabled (element As DependencyObject) As Boolean

參數

element
DependencyObject

要查詢有關 ShowOnDisabled 屬性的物件。

傳回

ShowOnDisabled 屬性的值。

屬性

適用於