GetIsLocked Method

ToolBarTray.GetIsLocked Method (DependencyObject)


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

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

public static bool GetIsLocked(
	DependencyObject element


Type: System.Windows.DependencyObject

The element from which to read the property.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft