Skip to main content

DiagramAppearanceObject Class

Provides appearance settings applied to a diagram item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

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