Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Protection)]
public virtual bool? AllowChangeTheme { get; set; }

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