Back to Devexpress

OptionsView.AllowLockSizeIndicators Property

windowsforms-devexpress-dot-xtralayout-dot-optionsview-1182e852.md

latest3.1 KB
Original Source

OptionsView.AllowLockSizeIndicators Property

Gets or sets whether or not lock size indicators should be displayed during the runtime customization.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowLockSizeIndicators { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowLockSizeIndicators As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that specifies whether or not lock size indicators should be displayed during the runtime customization.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowLockSizeIndicators
LayoutControl

.OptionsView .AllowLockSizeIndicators

|

Remarks

By default, when end-users try to resize layout items, the adorner layer (see the OptionsView.DrawAdornerLayer property) highlights those with locked sizes. In the following figure, locked items are highlighted in light purple.

If you set the AllowLockSizeIndicators property to DefaultBoolean.True, along with this color indication, locked items will additionally display lock indicators (see the figure below). These elements allow your end-users to instantly recognize whether an item width, height or both width and height are locked.

See Also

OptionsView Class

OptionsView Members

DevExpress.XtraLayout Namespace