Back to Devexpress

XtraMdiTabPage.PageVisible Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-1da57875.md

latest2.8 KB
Original Source

XtraMdiTabPage.PageVisible Property

Gets whether the tab page is visible.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public bool PageVisible { get; }
vb
<Browsable(False)>
Public ReadOnly Property PageVisible As Boolean

Property Value

TypeDescription
Boolean

true if the tab page is visible; otherwise, false.

|

Remarks

The PageVisible property returns the value of the Visible property of its corresponding MDI child form.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

winforms-tabbed-mdi-manager-display-custom-header-button/CS/WindowsFormsApplication32/MyTabbedMdiManager/MyTabbedMdiManager.cs#L76

csharp
{
    if ( !page.PageVisible || !page.PageEnabled )
        continue;

winforms-tabbed-mdi-manager-display-custom-header-button/VB/WindowsFormsApplication32/MyTabbedMdiManager/MyTabbedMdiManager.vb#L60

vb
For Each page As XtraMdiTabPage In Pages
    If Not page.PageVisible OrElse Not page.PageEnabled Then Continue For
    Dim menuItem As DXMenuItem = CreateMenuItem(page)

See Also

MdiChild

XtraMdiTabPage Class

XtraMdiTabPage Members

DevExpress.XtraTabbedMdi Namespace