Back to Devexpress

DiagramOptionsProtection.AllowChangeTheme Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsprotection-78e9ec5d.md

latest2.0 KB
Original Source

DiagramOptionsProtection.AllowChangeTheme Property

Gets or sets whether to allow end-users to select the diagram theme in the Ribbon.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Protection)]
public virtual bool? AllowChangeTheme { get; set; }
vb
<DefaultValue(Nothing)>
<DiagramCategory(DiagramCategory.Protection)>
Public Overridable Property AllowChangeTheme As Boolean?

Property Value

TypeDefaultDescription
Nullable<Boolean>null

true to allow end-users to select the diagram theme in the Ribbon; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowChangeTheme
DiagramControl

.OptionsProtection .AllowChangeTheme

|

Remarks

If the AllowChangeTheme property is set to false , the Themes ribbon group is not shown.

See Also

DiagramOptionsProtection Class

DiagramOptionsProtection Members

DevExpress.XtraDiagram.Options Namespace