Fires when a Close button within a tab page is clicked.
[DXCategory("Events")] public event LayoutGroupEventHandler TabPageCloseButtonClick
<DXCategory("Events")> Public Event TabPageCloseButtonClick As LayoutGroupEventHandler
The TabPageCloseButtonClick event's data class is LayoutGroupEventArgs. The following properties provide information specific to this event:
|Group||Gets the group currently being processed.|
Groups combined into a TabbedGroup are represented as tab pages. In this instance, they can contain Close buttons within page headers. By default, clicking these buttons has no effect, but only fires the TabPageCloseButtonClick event. Handle this event to respond to clicking these buttons. For instance, you can hide the clicked page when its Close button is clicked using the LayoutControlGroup.HideToCustomization method.
To display a Close button within a tab page header, set the LayoutGroup.ShowTabPageCloseButton property to true.