TdxLayoutSplitterItem.AllowCloseOnClick Property
Specifies whether the splitter item can collapse its associated layout element on a click.
Declaration
property AllowCloseOnClick: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Set this property to True to allow an end user to collapse or expand a layout element with a click on the splitter. Alternatively, you can check the Collapsible item in the splitter item’s context menu in the Customization Form.
Options include:
Value | Description | Example |
---|---|---|
False | A click on the splitter item has no effect. A user can only drag the splitter to resize the associated layout element. The splitter automatically expands its layout element to the original size if it is collapsed. | |
True | The splitter item displays an arrow that indicates the direction of the collapse or expand operation. A click on the splitter collapses its associated layout element. A following click on the same splitter expands the collapsed layout item to its original size. Alternatively, a user can drag the collapsed splitter in the arrow’s direction to expand the layout element to any size. |
Note
The collapsed splitter item automatically expands when its layout element associates with another layout item. A click on the splitter item does not raise the OnCanResize event.
The AllowCloseOnClick property’s default value is False.
See Also