vcl-152020-expresslayoutcontrol-layout-elements-items-auxiliary-items-separator-item.md
The separator item is a line that separates layout elements.
The orientation of a separator item depends on its height-to-width ratio on the screen.
A separator is horizontally oriented when the separator’s width exceeds its visible height on the screen.
A separator is vertically oriented when the separator’s height exceeds its width on the screen.
Double-click the Layout Control to invoke the customization form and follow the steps below:
VisibilityA separator’s Visible property allows you to hide or display the separator.Position
A separator’s Index, VisibleIndex, AlignHorz, AlignVert, AlignmentConstraint, and Offsets properties allow you to position the separator precisely.
A parent group’s LayoutDirection and UseIndent properties also affect the separator’s position and orientation.
SizeUse a separator’s SizeOptions.Height, SizeOptions.Width, SizeOptions.MaxHeight, and SizeOptions.MaxWidth properties to adjust the separator dimensions.ContentYou can display a caption within a separator item in addition to a line. Use the item’s CaptionOptions.VisibleElements property to control the visibility of elements that make up the caption.AppearanceA separator’s LayoutLookAndFeel and CaptionOptions properties define the separator’s appearance. Please note the following:
Behavior
A separator’s SizeOptions.SizableHorz and SizeOptions.SizableVert properties specify if users can resize the separator horizontally and vertically.
The layout control’s OptionsItem.SizableHorz and OptionsItem.SizableVert properties define the common user permissions to perform layout element resize operations.
A separator’s AllowRemove property defines if users can remove the separator.
A parent group’s Locked property specifies if a user can move separators within the group.
See Also
Arranging Layout Items and Groups