Edit

Bagikan melalui


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

The element to write the property to.

value
Boolean

The property value to set.

Applies to