ToolBarTray::IsLocked Property
.NET Framework (current version)
Gets or sets a value that indicates whether a ToolBar can be moved inside a ToolBarTray.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Booleantrue if the toolbar cannot be moved inside the toolbar tray; otherwise, false. The default is false.
The following example shows how to create a ToolBarTray that does not allow a ToolBar to move inside it.
<ToolBarTray Background="White" IsLocked="True">
.NET Framework
Available since 3.0
Available since 3.0
Show: