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.OnBeforeClose Event

In This Article

Enables you to stop the splitter from being closed.

#Declaration

Delphi
property OnBeforeClose: TBeforeCloseHotZoneEvent read; write;

#Remarks

This event fires when the splitter is about to be closed. It can be invoked as the result of clicking the hot zone or of closing the splitter programmatically (using the CloseSplitter method or the State property). Handle this event to prohibit closing the splitter when particular conditions are met. To restrict splitter closing, set the AllowClose parameter to False.

The Sender parameter specifies the splitter control to be closed.

See Also