ToolBarTray.SetIsLocked(DependencyObject, Boolean) ToolBarTray.SetIsLocked(DependencyObject, Boolean) ToolBarTray.SetIsLocked(DependencyObject, Boolean) ToolBarTray.SetIsLocked(DependencyObject, Boolean) Method

Definition

Writes the value of the IsLocked property to the specified element.

public:
 static void SetIsLocked(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsLocked (System.Windows.DependencyObject element, bool value);
static member SetIsLocked : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsLocked (element As DependencyObject, value As Boolean)

Parameters

element
DependencyObject DependencyObject DependencyObject DependencyObject

The element to write the property to.

value
Boolean Boolean Boolean Boolean

The property value to set.

Applies to