Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
© 2016 Microsoft