Back to Devexpress

DiagramOptionsBehavior.AllowPropertiesPanel Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-ee7e0cce.md

latest2.0 KB
Original Source

DiagramOptionsBehavior.AllowPropertiesPanel Property

Specifies whether to display the ‘Properties’ menu item in the context menu.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(false)]
public virtual bool AllowPropertiesPanel { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property AllowPropertiesPanel As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to display the ‘Properties’ menu item in the context menu; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowPropertiesPanel
DiagramControl

.OptionsBehavior .AllowPropertiesPanel

|

Remarks

To hide the Properties panel, set the DiagramOptionsView.PropertiesPanelVisibility property to PropertiesPanelVisibility.Closed.

See Also

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace