DiagramAppearanceObject Class

Provides appearance settings applied to a diagram item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public class DiagramAppearanceObject :
    AppearanceObject
Public Class DiagramAppearanceObject
    Inherits AppearanceObject

Related API Members

The following members accept/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