windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-cb6b62f7.md
Gets or sets whether the page is visible.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public bool Visible { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property Visible As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the page is visible; otherwise, false.
|
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
if (e.Page == tbSheet) {
dataRibbonPage1.Visible = true;
sheetPageCategory.Visible = true;
winforms-spreadsheet-use-cell-range-as-data-source/VB/RangeDataSource/Form1.vb#L85
If e.Page Is tbSheet Then
dataRibbonPage1.Visible = True
sheetPageCategory.Visible = True
See Also