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.v20.1.dll

Declaration

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

Property Value

Type Default Description
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 Type Path to AllowChangeTheme
DiagramControl
.OptionsProtection.AllowChangeTheme

Remarks

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

See Also