Skip to main content

TcxCustomSplitter.AutoSnap Property

Specifies whether the splitter is automatically closed when its position reaches the MinSize property value.

Declaration

property AutoSnap: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

End-users can drag the splitter to change the size of the bound control. The AutoSnap property enables you to control how the bound control’s size changes when dragging the splitter to a position less than the MinSize property value. If the AutoSnap property is set to True, the control is automatically hidden in such cases and its width or height becomes zero. Otherwise the control is always resized to the position where the splitter is dragged.

You can use the AutoSnap property to prevent end-users from making bound panels too small. This property can also be set to True to allow end-users to close the splitter when the hot zone is disabled.

The default value of the AutoSnap property is False.

See Also