windowsforms-devexpress-dot-utils-dot-appearanceobject-dot-underscore-members.md
An appearance object.
| Name | Description |
|---|---|
| AppearanceObject() | Initializes a new instance of the AppearanceObject class. |
| AppearanceObject(AppearanceDefault) | Initializes a new instance of the AppearanceObject class with default settings. |
| AppearanceObject(AppearanceObject, AppearanceDefault) | Initializes a new instance of the AppearanceObject class with the specified settings. |
| AppearanceObject(AppearanceObject, AppearanceObject) | Initializes a new instance of the AppearanceObject class. |
| AppearanceObject(AppearanceObject, String) | Initializes a new instance of the AppearanceObject class with the specified name and parent. |
| AppearanceObject(AppearanceObject) | Initializes a new instance of the AppearanceObject class with the specified parent. |
| AppearanceObject(IAppearanceOwner, AppearanceObject, String) | Initializes a new instance of the AppearanceObject class with the specified owner, parent and name. |
| AppearanceObject(IAppearanceOwner, AppearanceObject) | Initializes a new instance of the AppearanceObject class with the specified owner and parent appearance object. |
| AppearanceObject(IAppearanceOwner, Boolean) | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
| AppearanceObject(String) | Initializes a new instance of the AppearanceObject class with the specified name. |
| Name | Description |
|---|---|
| BackColor | Gets or sets the background color. |
| BackColor2 | Deprecated. Gets or sets the end color of the background’s gradient brush. |
| BorderColor | Gets or sets the border color. |
| ControlAppearance static | Gets the default appearance settings which are used to paint 3-D elements in Windows. |
| DefaultFont static | Gets or sets the default font for controls. |
| DefaultMenuFont static | Gets and sets the font used to display text on menus. |
| EmptyAppearance static | Returns an empty appearance object. |
| Font | Gets or sets the font used to paint the text. |
| FontHeight | Obsolete. Gets the height of the font used by the appearance object. |
| FontSizeDelta | Gets or sets an integer value by which the font size is adjusted. |
| FontStyleDelta | Gets or sets an additional style to be applied to the font. |
| ForeColor | Gets or sets the foreground color. |
| GradientMode | Deprecated. Gets or sets the background gradient’s direction. |
| HAlignment | Gets the horizontal alignment of the appearance object’s text. |
| Image | This property is obsolete. Gets or sets the background image. |
| IsDefaultFontChanged static | Gets whether the default font is changed. |
| IsDisposed | Gets whether the current object has been disposed of. |
| Name | Gets or sets the name of the current appearance object. |
| Options | Provides access to the appearance object’s options. |
| ParentAppearance | Gets the parent appearance object. |
| TextOptions | Provides access to text rendering options (horizontal and vertical alignment, word wrapping, trimming options, etc.). |
| Name | Description |
|---|---|
| Assign(AppearanceDefault) | Sets the appearance object’s settings to default values. |
| Assign(AppearanceObject) | Copies all settings from the appearance object passed as a parameter. |
| AssignInternal(AppearanceObject) | Copies all the settings in the appearance object passed as the parameter to the current object without raising the AppearanceObject.Changed event. |
| BeginUpdate() | Locks the AppearanceObject object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. |
| CalcDefaultTextSize() | Calculates the size of a string painted with the default font. |
| CalcDefaultTextSize(GraphicsCache) | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
| CalcDefaultTextSize(Graphics) | Calculates the size of a string painted with the font specified by the current object. |
| CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32, out Boolean) | Calculates the string size. |
| CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32) | Calculates the string size. |
| CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32) | Calculates the string size. |
| CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32, out Boolean) | Calculates the string size. |
| CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32) | Calculates the string size. |
| CalcTextSize(GraphicsCache, StringFormat, String, Int32) | Calculates the size of the specified string drawn with the specified StringFormat object. |
| CalcTextSize(GraphicsCache, String, Int32) | Calculates the size of the specified string. |
| CalcTextSize(Graphics, StringFormatInfo, String, Int32) | Calculates the size of the specified string drawn with the specified StringFormat object. |
| CalcTextSize(Graphics, StringFormat, String, Int32, Int32, out Boolean) | Calculates the size of the specified string when it’s drawn with the specified font, fitting the string into a clipping rectangle. Allows you to determine whether the string does not fit the clipping rectangle. |
| CalcTextSize(Graphics, StringFormat, String, Int32, Int32) | Calculates the size of the specified string drawn with the specified format, fitting the string into a clipping rectangle. |
| CalcTextSize(Graphics, StringFormat, String, Int32) | Calculates the size of the specified string drawn with the specified StringFormat object. |
| CalcTextSize(Graphics, String, Int32) | Calculates the size of the specified string. |
| CalcTextSizeInt(GraphicsCache, StringFormatInfo, String, Int32) | Calculates the length of the specified string drawn with the specified formatting. |
| CalcTextSizeInt(GraphicsCache, StringFormat, String, Int32) | Calculates the length of the specified string drawn with the specified StringFormat object. |
| CalcTextSizeInt(GraphicsCache, String, Int32) | Calculates the length of the specified string. |
| CalcTextSizeInt(Graphics, StringFormatInfo, String, Int32) | Calculates the length of the specified string drawn with the specified formatting. |
| CalcTextSizeInt(Graphics, StringFormat, String, Int32) | Calculates the length of the specified string drawn with the specified StringFormat object. |
| CalcTextSizeInt(Graphics, String, Int32) | Calculates the length of the specified string. |
| CancelUpdate() | Unlocks the AppearanceObject object after it has been locked by the BeginUpdate method, without causing an immediate visual update. |
| Clone() | Creates a copy of the current AppearanceObject instance. |
| Combine(AppearanceObject) | Copies the activated settings from the appearance object passed as the parameter. |
| Dispose() | Releases all resources used by the current appearance object. |
| DrawBackground(GraphicsCache, Rectangle, Boolean) | Draws the background for the area contained within the specified boundary. |
| DrawBackground(GraphicsCache, Rectangle) | Draws the background for the area contained within the specified boundary. |
| DrawBackground(Graphics, GraphicsCache, Rectangle, Boolean) | Draws the background for the area contained within the specified boundary. |
| DrawBackground(Graphics, GraphicsCache, Rectangle) | Draws the background. |
| DrawString(GraphicsCache, String, Rectangle, StringFormatInfo) | Draws the specified text string in the specified rectangle using the specified formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Brush, StringFormatInfo) | Draws the specified text string in the specified rectangle using the specified formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Brush, StringFormat) | Draws a text string at the specified position using the specified color and format. |
| DrawString(GraphicsCache, String, Rectangle, Brush) | Draws a text string at the specified position using the specified color. |
| DrawString(GraphicsCache, String, Rectangle, Color, StringFormatInfo) | Draws the specified text string in the specified rectangle with the specified Color using the formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Color, TextOptions) | Draws the specified text string in the specified rectangle with the specified Color using the specified TextOptions. |
| DrawString(GraphicsCache, String, Rectangle, Color, StringFormat) | Draws the specified text string in the specified rectangle with the specified Color using the formatting attributes of the specified StringFormat. |
| DrawString(GraphicsCache, String, Rectangle, Font, StringFormatInfo) | Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Font, Brush, StringFormatInfo) | Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Font, Brush, StringFormat) | Draws a text string at the specified position using the specified font, color and format. |
| DrawString(GraphicsCache, String, Rectangle, Font, Color, StringFormatInfo) | Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes. |
| DrawString(GraphicsCache, String, Rectangle, Font, Color, StringFormat) | Draws the specified text string at the specified location with the specified Color and Font objects using the formatting attributes of the specified StringFormat. |
| DrawString(GraphicsCache, String, Rectangle, Font, StringFormat) | Draws a text string at the specified position using the specified font and format. |
| DrawString(GraphicsCache, String, Rectangle, StringFormat) | Draws a text string at the specified position using the specified format. |
| DrawString(GraphicsCache, String, Rectangle) | Draws a text string at the specified position. |
| DrawVString(GraphicsCache, String, Font, Brush, Rectangle, StringFormatInfo, Int32) | Draws the specified text string in the specified rectangle with the specified Font using the formatting attributes. |
| DrawVString(GraphicsCache, String, Font, Brush, Rectangle, StringFormat, Int32) | Draws a text string vertically with the specified angle and at the specified position using the specified font, color and format. |
| EndUpdate() | Unlocks the AppearanceObject object after a call to the BeginUpdate method and causes an immediate visual update. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| FillRectangle(GraphicsCache, Rectangle, Boolean) | Fills the interior of a rectangle specified by a Rectangle structure. |
| FillRectangle(GraphicsCache, Rectangle) | Fills the interior of a rectangle specified by a Rectangle structure. |
| GetAppearanceByFont() | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
| GetAppearanceByOption(String) | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
| GetBackBrush(GraphicsCache, Rectangle) | Gets the brush used to draw an element’s background. |
| GetBackBrush(GraphicsCache) | Gets the solid brush used to draw the element’s background. |
| GetBackColor() | Gets the background color specified by the appearance object’s settings. |
| GetBackColor(ISkinProvider) | Returns the BackColor (AppearanceObject.BackColor) for the target LookAndFeel object. |
| GetBackColor2() | Gets the ending color of the linear gradient brush, specified by the appearance object’s settings. |
| GetBackColorAppearance() | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
| GetBackPen(GraphicsCache, Int32) | Gets the pen used to draw the element’s background lines and curves. |
| GetBackPen(GraphicsCache) | Gets the pen used to draw the element’s background lines and curves. |
| GetBorderBrush(GraphicsCache) | Gets the brush used to draw the element’s border. |
| GetBorderColor() | Gets the element’s border color specified by the appearance object’s settings. |
| GetBorderColor(ISkinProvider) | Returns the BorderColor (AppearanceObject.BorderColor) for the target LookAndFeel object. |
| GetBorderPen(GraphicsCache, Int32) | Gets the pen used to draw the element’s borders. |
| GetBorderPen(GraphicsCache) | Gets the pen used to draw the border’s lines and curves. |
| GetDXFont() | |
| GetDXStringFormat() | Returns an object that contains text alignment information and OpenType features. |
| GetDXStringFormat(TextOptions) | Returns an object that contains text alignment information and OpenType features. |
| GetFont() | Gets the font settings specified by the appearance object’s settings. |
| GetFont(FontStyle, Int32) | This member supports infrastructure and is not intended for use in code. |
| GetFont(FontStyle) | This member supports the infrastructure and is not intended to be used directly from your code. |
| GetFontHeight(GraphicsCache) | Returns the font height. |
| GetForeBrush(GraphicsCache) | Gets the solid brush whose color is specified by the AppearanceObject.ForeColor property. |
| GetForeColor() | Gets the foreground color specified by the appearance object’s settings. |
| GetForeColor(GraphicsCache) | Returns the ForeColor (AppearanceObject.ForeColor) for the target GraphicsCache object. |
| GetForePen(GraphicsCache) | Gets the pen whose color is specified by the AppearanceObject.ForeColor property. |
| GetGradientMode() | Gets the background gradient’s direction specified by the appearance object’s settings. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetImage() | This method is obsolete. Gets the background image specified by the appearance object’s settings. |
| GetStringFormat() | Gets the formatting attributes specified by the appearance object’s settings. |
| GetStringFormat(TextOptions) | Gets the formatting attributes specified by the AppearanceObject.TextOptions object passed as the parameter. |
| GetStringFormatInfo() | Gets the formatting attributes specified by the appearance object’s settings. |
| GetStringFormatInfo(TextOptions) | Returns a StringFormatInfo object initialized with settings of the specified TextOptions object. |
| GetTextOptions() | Gets the text options specified by the appearance object’s settings. |
| GetTextureBrush() | This method is obsolete. Returns a TextureBrush object which uses the image to fill the interior of a shape. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| IsEqual(AppearanceObject) | Tests whether two objects have the same property values. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Reset() | Reverts the appearance object’s properties to their default values. |
| ShouldSerialize() | Tests whether the AppearanceObject should be persisted. |
| ToString() | Returns a string representing the current appearance object. |
| Name | Description |
|---|---|
| Changed | Fires when the appearance object’s properties are changed. |
| PaintChanged | Occurs when specific settings that control the text appearance are changed. |
| SizeChanged | Occurs when specific settings that control the size of text are changed. |
See Also