Gets or sets the value, which is corresponds to whether the control panel of the application can be opened after click of the right mouse button above the specified control.

Namespace: Elysium.Controls
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
See GetPreventsOpen, SetPreventsOpen
Visual Basic
See GetPreventsOpen, SetPreventsOpen

Property Value

Type: Boolean
True, if the control panel can be called by right-click on the specified control; False otherwise. The default value is True.

Remarks

Identifier fieldPreventsOpenProperty
MetadataNone

Examples

C# Copy imageCopy
1var control = new Grid();
2var currentValue = ApplicationBar.GetPreventsOpen(control);
3ApplicationBar.SetPreventsOpen(control, true);
XAML Copy imageCopy
1<Grid metro:ApplicationBar.PreventsOpen="True"/>

See Also