windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagegroup-2dfbc0b2.md
Gets or sets whether the current RibbonPageGroup is enabled.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public virtual bool Enabled { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Overridable Property Enabled As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the current RibbonPageGroup is enabled; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Enabled 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-scheduler-synchronize-appointments-with-outlook-365/CS/DXOutlook365Sync/Form1.cs#L49
void UpdateRibbonUI(bool enabled) {
outlookSyncRibbonPageGroup.Enabled = enabled;
initBarButtonItem.Enabled = !enabled;
winforms-scheduler-synchronize-appointments-with-outlook-365/VB/DXOutlook365Sync/Form1.vb#L52
Private Sub UpdateRibbonUI(ByVal enabled As Boolean)
outlookSyncRibbonPageGroup.Enabled = enabled
initBarButtonItem.Enabled = Not enabled
See Also