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

从中读取属性的元素。

返回

true 如果工具栏不能在工具栏托盘内移动,则为 ;否则,为 false. 默认值为 false

适用于