Skip to main content
A newer version of this page is available. .

HyperlinkLabelControlAppearanceObject Members

Provides appearance settings used to paint a HyperlinkLabelControl.

Constructors

Name Description
HyperlinkLabelControlAppearanceObject() Initializes a new instance of a HyperlinkLabelControlAppearanceObject class with the default settings.

Properties

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.
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.
DisabledColor Gets or sets the color used to display links within a disabled HyperlinkLabelControl (when its Enabled property is set to false).
DisabledImage Obsolete. Gets or sets the image to be displayed within the label when the control is disabled. Inherited from LabelControlAppearanceObject.
DisabledImageIndex Obsolete. Gets or sets the index of the image to be displayed within the label when the control is disabled. Inherited from LabelControlAppearanceObject.
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 Gets or sets the background gradient’s direction. Inherited from AppearanceObject.
HAlignment Gets the horizontal alignment of the appearance object’s text. Inherited from AppearanceObject.
HoverImage Obsolete. Gets or sets the image to be displayed within the label when the control is hovered over. Inherited from LabelControlAppearanceObject.
HoverImageIndex Obsolete. Gets or sets the index of the image to be displayed within the label when the control is hovered over. Inherited from LabelControlAppearanceObject.
Image Stores the image that will be shown inside the LabelControl. Inherited from LabelControlAppearanceObject.
ImageAlign Gets or sets the alignment of the image within the label. Inherited from LabelControlAppearanceObject.
ImageIndex Gets or sets the index of the image displayed within the label. Inherited from LabelControlAppearanceObject.
ImageList Gets or sets the source of images to be displayed within the label. Inherited from LabelControlAppearanceObject.
IsDisposed Gets whether the current object has been disposed of. Inherited from AppearanceObject.
LinkColor Gets or sets the color used to display normal links.
Name Gets or sets the name of the current appearance object. Inherited from AppearanceObject.
Options Provides access to the appearance options.
ParentAppearance Gets the parent appearance object. Inherited from AppearanceObject.
PressedColor Gets or sets the color used to display links when the HyperlinkLabelControl is pressed.
PressedImage Obsolete. Gets or sets the image to be displayed within the label when the control is pressed. Inherited from LabelControlAppearanceObject.
PressedImageIndex Obsolete. Gets or sets the index of the image to be displayed within the label when the control is pressed. Inherited from LabelControlAppearanceObject.
TextOptions Provides access to text rendering options (horizontal and vertical alignment, word wrapping, trimming options, etc.). Inherited from AppearanceObject.
VisitedColor Gets or sets the color used to paint visited links.

Methods

Name Description
Assign(AppearanceDefault) Sets the appearance object’s settings to default values. Inherited from AppearanceObject.
Assign(AppearanceObject) Copies all settings from the appearance object passed as a parameter. Inherited from LabelControlAppearanceObject.
AssignInternal(AppearanceObject) Copies all the settings in the appearance object passed as the parameter to the current object without raising the AppearanceObject.Changed event. Inherited from AppearanceObject.
BeginUpdate() Locks the AppearanceObject object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from AppearanceObject.
CalcDefaultTextSize() Calculates the size of a string painted with the default font. Inherited from AppearanceObject.
CalcDefaultTextSize(GraphicsCache) This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from AppearanceObject.
CalcDefaultTextSize(Graphics) Calculates the size of a string painted with the font specified by the current object. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32, out Boolean) Calculates the string size. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32) Calculates the string size. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32) Calculates the string size. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32, out Boolean) Calculates the string size. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32) Calculates the string size. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, StringFormat, String, Int32) Calculates the size of the specified string drawn with the specified StringFormat object. Inherited from AppearanceObject.
CalcTextSize(GraphicsCache, String, Int32) Calculates the size of the specified string. Inherited from AppearanceObject.
CalcTextSize(Graphics, StringFormatInfo, String, Int32) Calculates the size of the specified string drawn with the specified StringFormat object. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
CalcTextSize(Graphics, StringFormat, String, Int32) Calculates the size of the specified string drawn with the specified StringFormat object. Inherited from AppearanceObject.
CalcTextSize(Graphics, String, Int32) Calculates the size of the specified string. Inherited from AppearanceObject.
CalcTextSizeInt(GraphicsCache, StringFormatInfo, String, Int32) Calculates the length of the specified string drawn with the specified formatting. Inherited from AppearanceObject.
CalcTextSizeInt(GraphicsCache, StringFormat, String, Int32) Calculates the length of the specified string drawn with the specified StringFormat object. Inherited from AppearanceObject.
CalcTextSizeInt(GraphicsCache, String, Int32) Calculates the length of the specified string. Inherited from AppearanceObject.
CalcTextSizeInt(Graphics, StringFormatInfo, String, Int32) Calculates the length of the specified string drawn with the specified formatting. Inherited from AppearanceObject.
CalcTextSizeInt(Graphics, StringFormat, String, Int32) Calculates the length of the specified string drawn with the specified StringFormat object. Inherited from AppearanceObject.
CalcTextSizeInt(Graphics, String, Int32) Calculates the length of the specified string. Inherited from AppearanceObject.
CancelUpdate() Unlocks the AppearanceObject object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from AppearanceObject.
Clone() Duplicates this LabelControlAppearanceObject. Inherited from LabelControlAppearanceObject.
Combine(AppearanceObject) Copies the activated settings from the appearance object passed as the parameter. Inherited from AppearanceObject.
Combine(AppearanceObject[], AppearanceDefault) Copies the activated appearance settings of objects passed as the first parameter to the current object; properties that aren’t activated are set to values specified by the second parameter Inherited from LabelControlAppearanceObject.
Dispose() Releases all resources used by the current appearance object. Inherited from LabelControlAppearanceObject.
DrawBackground(GraphicsCache, Rectangle, Boolean) Draws the background for the area contained within the specified boundary. Inherited from AppearanceObject.
DrawBackground(GraphicsCache, Rectangle) Draws the background for the area contained within the specified boundary. Inherited from AppearanceObject.
DrawBackground(Graphics, GraphicsCache, Rectangle, Boolean) Draws the background for the area contained within the specified boundary. Inherited from AppearanceObject.
DrawBackground(Graphics, GraphicsCache, Rectangle) Draws the background. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, StringFormatInfo) Draws the specified text string in the specified rectangle using the specified formatting attributes. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Brush, StringFormatInfo) Draws the specified text string in the specified rectangle using the specified formatting attributes. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Brush, StringFormat) Draws a text string at the specified position using the specified color and format. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Brush) Draws a text string at the specified position using the specified color. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Color, StringFormatInfo) Draws the specified text string in the specified rectangle with the specified Color using the formatting attributes. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Color, TextOptions) Draws the specified text string in the specified rectangle with the specified Color using the specified TextOptions. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Font, StringFormatInfo) Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Font, Brush, StringFormat) Draws a text string at the specified position using the specified font, color and format. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, Font, StringFormat) Draws a text string at the specified position using the specified font and format. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle, StringFormat) Draws a text string at the specified position using the specified format. Inherited from AppearanceObject.
DrawString(GraphicsCache, String, Rectangle) Draws a text string at the specified position. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
EndUpdate() Unlocks the AppearanceObject object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from AppearanceObject.
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. Inherited from AppearanceObject.
FillRectangle(GraphicsCache, Rectangle) Fills the interior of a rectangle specified by a Rectangle structure. Inherited from AppearanceObject.
FinalAlign(ContentAlignment, RightToLeft) This method supports the internal infrastructure and is not intended to be called directly from your code. Inherited from LabelControlAppearanceObject.
GetAppearanceByFont() This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from AppearanceObject.
GetAppearanceByOption(String) This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from AppearanceObject.
GetBackBrush(GraphicsCache, Rectangle) Gets the brush used to draw an element’s background. Inherited from AppearanceObject.
GetBackBrush(GraphicsCache) Gets the solid brush used to draw the element’s background. Inherited from AppearanceObject.
GetBackColor() Gets the background color specified by the appearance object’s settings. Inherited from AppearanceObject.
GetBackColor(ISkinProvider) Returns the BackColor (AppearanceObject.BackColor) for the target LookAndFeel object. Inherited from AppearanceObject.
GetBackColor2() Gets the ending color of the linear gradient brush, specified by the appearance object’s settings. Inherited from AppearanceObject.
GetBackPen(GraphicsCache, Int32) Gets the pen used to draw the element’s background lines and curves. Inherited from AppearanceObject.
GetBackPen(GraphicsCache) Gets the pen used to draw the element’s background lines and curves. Inherited from AppearanceObject.
GetBorderBrush(GraphicsCache) Gets the brush used to draw the element’s border. Inherited from AppearanceObject.
GetBorderColor() Gets the element’s border color specified by the appearance object’s settings. Inherited from AppearanceObject.
GetBorderColor(ISkinProvider) Returns the BorderColor (AppearanceObject.BorderColor) for the target LookAndFeel object. Inherited from AppearanceObject.
GetBorderPen(GraphicsCache, Int32) Gets the pen used to draw the element’s borders. Inherited from AppearanceObject.
GetBorderPen(GraphicsCache) Gets the pen used to draw the border’s lines and curves. Inherited from AppearanceObject.
GetFont() Gets the font settings specified by the appearance object’s settings. Inherited from AppearanceObject.
GetFontHeight(GraphicsCache) Returns the font height. Inherited from AppearanceObject.
GetForeBrush(GraphicsCache) Gets the solid brush whose color is specified by the AppearanceObject.ForeColor property. Inherited from AppearanceObject.
GetForeColor() Gets the foreground color specified by the appearance object’s settings. Inherited from AppearanceObject.
GetForeColor(GraphicsCache) Returns the ForeColor (AppearanceObject.ForeColor) for the target GraphicsCache object. Inherited from AppearanceObject.
GetForePen(GraphicsCache) Gets the pen whose color is specified by the AppearanceObject.ForeColor property. Inherited from AppearanceObject.
GetGradientMode() Gets the background gradient’s direction specified by the appearance object’s settings. Inherited from AppearanceObject.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImage() Gets the image to be displayed in a label control. Inherited from LabelControlAppearanceObject.
GetImage(ObjectState) Gets the image to be displayed in the label, control according to its state. Inherited from LabelControlAppearanceObject.
GetImageForAnimation() Returns an image displayed in the label. Inherited from LabelControlAppearanceObject.
GetStringFormat() Gets the formatting attributes specified by the appearance object’s settings. Inherited from AppearanceObject.
GetStringFormat(TextOptions) Gets the formatting attributes specified by the AppearanceObject.TextOptions object passed as the parameter. Inherited from AppearanceObject.
GetStringFormatInfo() Gets the formatting attributes specified by the appearance object’s settings. Inherited from AppearanceObject.
GetStringFormatInfo(TextOptions) Inherited from AppearanceObject.
GetTextOptions() Gets the text options specified by the appearance object’s settings. Inherited from AppearanceObject.
GetTextureBrush() Returns a TextureBrush object which uses the image specified by the AppearanceObject.Image property to fill the interior of a shape. Inherited from AppearanceObject.
GetType() Gets the Type of the current instance. Inherited from Object.
IsEqual(AppearanceObject) Tests whether two objects have the same property values. Inherited from AppearanceObject.
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() Resets all LabelControlAppearanceObject properties to their default values. Inherited from LabelControlAppearanceObject.
ShouldSerialize() Tests whether the AppearanceObject should be persisted. Inherited from AppearanceObject.
ToString() Returns a string representing the current appearance object. Inherited from AppearanceObject.

Events

Name Description
Changed Fires when the appearance object’s properties are changed. Inherited from AppearanceObject.
PaintChanged Occurs when specific settings that control the text appearance are changed. Inherited from AppearanceObject.
SizeChanged Occurs when specific settings that control the size of text are changed. Inherited from AppearanceObject.
See Also