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

DiagramAppearanceObject Class

Provides appearance settings applied to a diagram item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v18.2.dll

Declaration

public class DiagramAppearanceObject :
    AppearanceObject

The following members return DiagramAppearanceObject objects:

Remarks

The DiagramAppearanceObject is used to set the value of the DiagramItem.Appearance property.

The code snippet below illustrates how to set a dashed border for a diagram shape.

item.Appearance.BorderDashPattern = new DevExpress.Diagram.Core.DiagramDoubleCollection(new double[] { 10, 3 });
item.Appearance.BorderColor = Color.Red;
item.Appearance.BorderSize = 4;

Inheritance

Object
AppearanceObject
DiagramAppearanceObject
See Also