Edit

Share via


ToolBarTray.GetIsLocked(DependencyObject) Method

Definition

Reads the value of the IsLocked property from the specified element.

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

Parameters

element
DependencyObject

The element from which to read the property.

Returns

true if the toolbar cannot be moved inside the toolbar tray; otherwise, false. The default is false.

Applies to