Back to Devexpress

RibbonPage.Visible Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-cb6b62f7.md

latest2.5 KB
Original Source

RibbonPage.Visible Property

Gets or sets whether the page is visible.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool Visible { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the page is visible; otherwise, false.

|

Remarks

Setting the Visible property to false hides the panel. Hidden panels can be made visible again only in code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visible 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-spreadsheet-use-cell-range-as-data-source/CS/RangeDataSource/Form1.cs#L80

csharp
if (e.Page == tbSheet) {
    dataRibbonPage1.Visible = true;
    sheetPageCategory.Visible = true;

winforms-spreadsheet-use-cell-range-as-data-source/VB/RangeDataSource/Form1.vb#L85

vb
If e.Page Is tbSheet Then
    dataRibbonPage1.Visible = True
    sheetPageCategory.Visible = True

See Also

RibbonPage Class

RibbonPage Members

DevExpress.XtraBars.Ribbon Namespace