Skip to main content

DiagramAppearanceObject Properties

Provides appearance settings applied to a diagram item.
Name Description
BackColor Gets or sets the background color if the AppearanceObject.BackColor2 property’s value is Color.Empty. Otherwise, it specifies the gradient’s starting color. Inherited from AppearanceObject.
BackColor2 Gets or sets the end color of the background’s gradient brush. Inherited from AppearanceObject.
BorderColor Gets or sets the border color. Inherited from AppearanceObject.
BorderDashPattern Gets or sets a collection of System.Double values that indicate the pattern of dashes and gaps that is used to outline diagram items.
BorderSize Gets or sets the value that specifies the border thickness.
ContentBackground Gets or sets the item’s background color.
ControlAppearance static Gets the default appearance settings which are used to paint 3-D elements in Windows. Inherited from AppearanceObject.
DefaultFont static Gets or sets the default font for controls. Inherited from AppearanceObject.
DefaultMenuFont static Gets and sets the font used to display text on menus. Inherited from AppearanceObject.
EmptyAppearance static Returns an empty appearance object. Inherited from AppearanceObject.
Font Gets or sets the font used to paint the text. Inherited from AppearanceObject.
FontHeight Obsolete. Gets the height of the font used by the appearance object. Inherited from AppearanceObject.
FontSizeDelta Gets or sets an integer value by which the font size is adjusted. Inherited from AppearanceObject.
FontStyleDelta Gets or sets an additional style to be applied to the font. Inherited from AppearanceObject.
ForeColor Gets or sets the foreground color. Inherited from AppearanceObject.
GradientMode This property supports the internal infrastructure and is not intended to be used directly from your code.
HAlignment Gets the horizontal alignment of the appearance object’s text. Inherited from AppearanceObject.
Image This property supports the internal infrastructure and is not intended to be used directly from your code.
IsDefaultFontChanged static Gets whether the default font is changed. Inherited from AppearanceObject.
IsDisposed Gets whether the current object has been disposed of. Inherited from AppearanceObject.
Name Gets or sets the name of the current appearance object. Inherited from AppearanceObject.
Options Provides options that determine which appearance settings should be applied to a diagram item.
ParentAppearance Gets the parent appearance object. Inherited from AppearanceObject.
TextOptions Provides access to text rendering options (horizontal and vertical alignment, word wrapping, trimming options, etc.). Inherited from AppearanceObject.
See Also