DiagramAppearanceObject Class
In This Article
Provides appearance settings applied to a diagram item.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
public class DiagramAppearanceObject :
AppearanceObject
#Related API Members
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