XtraTabPage.PageVisible Property
Gets or sets whether the tab page is visible.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if the tab page is visible; otherwise, false. |
Example
The following example shows how to hide tab pages in the XtraTabControl when their Close buttons are clicked. To respond to clicking Close buttons, the XtraTabControl.CloseButtonClick event is handled.
using DevExpress.XtraTab;
using DevExpress.XtraTab.ViewInfo;
private void xtraTabControl1_CloseButtonClick(object sender, EventArgs e) {
ClosePageButtonEventArgs arg = e as ClosePageButtonEventArgs;
(arg.Page as XtraTabPage).PageVisible = false;
}
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PageVisible property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.