Skip to main content

TcxCustomSplitter.OpenSplitter Method

Expands a closed splitter.

Declaration

procedure OpenSplitter;

Remarks

If the splitter is not closed, this method does nothing. Otherwise, its behavior depends on the AutoPosition property value. If this property is set to True, the splitter is moved to the position it had before closing. Otherwise, it is moved to the position specified by the PositionAfterOpen property value.

The splitter can be programmatically closed using the CloseSplitter method. To determine the current state of the splitter, use the State property.

The OpenSplitter and CloseSplitter methods provide the same functionality as when an end-user clicks the hot zone. These methods are useful if you don’t want to display the hot zone, but still want to provide the collapse/expand functionality to end-users.

See Also