Skip to main content

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

NuGet Package: DevExpress.Win.Diagram

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