Back to Devexpress

TdxCustomLayoutGroup.Locked Property

vcl-dxlayoutcontainer-dot-tdxcustomlayoutgroup.md

latest1.6 KB
Original Source

TdxCustomLayoutGroup.Locked Property

Specifies whether the group and its contents are considered as a single element during end-user customization.

Declaration

delphi
property Locked: Boolean read; write; default False;

Property Value

TypeDefault
BooleanFalse

Remarks

Set this property to True to prohibit end-users from changing the internal group layout (add or remove its elements) when the ExpressLayout Control is in either standard or quick customization mode. To ensure that end-users can see that a group is locked, the layout control displays a lock icon above the group’s icon (similar to the Customer group’s icon in the image below).

Note

The Locked property has no effect at design time. It also does not prohibit end-users from moving the group or changing its visibility.

The default value of the Locked property is False.

See Also

TdxLayoutItemOptions.ShowLockedGroupChildren

TdxCustomLayoutGroup Class

TdxCustomLayoutGroup Members

dxLayoutContainer Unit