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.Control Property

Specifies the control whose size is affected by the splitter.

#Declaration

Delphi
property Control: TControl read; write;

#Property Value

Type
TControl

#Remarks

In a newly created splitter, the Control property is initialized with an empty string. This value indicates that the splitter automatically binds to the nearest visible control (a TControl descendant) that has matching alignment settings. To manually bind the splitter to a certain control, refer to this control via the splitter’s Control property. Once bound, user interactions with the splitter adjust the size of its bound control, provided that their alignment settings match. Switching the bound control’s Align property to alLeft, alTop, alRight, or alBottom automatically adjusts the splitter’s position and alignment, overriding the splitter’s AlignSplitter property setting. The adjustment is made as if the AlignSplitter property is set to salLeft, salTop, salRight, or salBottom, respectively.

Refer to the Using the TcxSplitter topic for an example on how to use TcxSplitter controls.

See Also