SetIsLocked Method

ToolBarTray.SetIsLocked Method (DependencyObject, Boolean)

 

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void SetIsLocked(
	DependencyObject element,
	bool value
)

Parameters

element
Type: System.Windows.DependencyObject

The element to write the property to.

value
Type: System.Boolean

The property value to set.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft