TcxCustomSplitter.State Property
Specifies whether the splitter is expanded or collapsed.
Declaration
property State: TcxSplitterState read; write;
Property Value
Type |
---|
TcxSplitterState |
Remarks
Use this property to determine whether the splitter’s bound control has its minimum available size. If so, the splitter is considered collapsed and the State property returns the ssClosed value. Otherwise, the splitter is expanded and the ssOpened value is returned.
Setting the State property to the ssClosed value is equivalent to calling the CloseSplitter method. This assigns the minimum possible size to the splitter’s bound control. Setting the ssOpened value is equivalent to calling the OpenSplitter method. There are several possible consequences of performing this. If the splitter is not collapsed, nothing is done. If it is collapsed, the result depends on the AutoPosition property value. If it is True, the splitter is moved to its position before it had been collapsed. Otherwise, it is moved to the position specified by the MinSize property.