ToolBarTray.GetIsLocked(DependencyObject) 方法

定義

從指定項目中讀取 IsLocked 屬性的值。

public:
 static bool GetIsLocked(System::Windows::DependencyObject ^ element);
public static bool GetIsLocked (System.Windows.DependencyObject element);
static member GetIsLocked : System.Windows.DependencyObject -> bool
Public Shared Function GetIsLocked (element As DependencyObject) As Boolean

參數

element
DependencyObject

要從中讀取屬性的項目。

傳回

Boolean

如果無法在工具列匣內移動工具列,則為 true;否則為 false。 預設為 false

適用於