Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomSplitter.AutoSnap Property

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

#Declaration

Delphi
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