[]
        
(Showing Draft Content)

C1.Win.C1SuperTooltip.C1SuperLabelBase

C1SuperLabelBase Class

Represents a label that shows static information on a form.

Inheritance
C1SuperLabelBase
Namespace: C1.Win.C1SuperTooltip
Assembly: C1.Win.4.8.dll
Syntax
[DefaultBindingProperty("Text")]
public class C1SuperLabelBase : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
C1SuperLabelBase()

Initializes a new instance of a C1SuperLabelBase control.

Properties

Name Description
AutoSize

Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

BackgroundImage

Gets or sets the background image displayed in the control.

BackgroundImageLayout

Gets or sets the background image layout as defined in the BackgroundImageLayout enumeration.

BorderStyle

Gets or sets the type of border around the control.

CreateParams

Gets the required creation parameters when the control handle is created.

Images

Gets a collection of images that may be shown in the label.

UseMnemonic

Gets or sets whether ampersands (&) are used to indicate the next character is a hot key.

Methods

Name Description
ApplyStyle(Style)

Recreates HTML element using the specified style and UseMnemonic value, re-parses the text.

Dispose(bool)

Releases resources used by the component

DrawToGraphics(Graphics, Rectangle)

Draws the control content into a given Graphics object.

DrawToGraphics(Graphics, RectangleF, int)

Draws an HTML string in the specified rectangle with the specified Brush and Font objects, starting at a given offset within the string.

Measure()

Measures the width and height of the control content.

Measure(Graphics)

Measures the width and height of the control content using specified Graphics.

Measure(Graphics, int)

Measures the height of the control content using specified Graphics when rendered with a given width.

Measure(int)

Measures the height of the control content when rendered with a given width.

OnBackColorChanged(EventArgs)

Raises the BackColorChanged event.

OnCursorChanged(EventArgs)

Occurs when the value of the Cursor property changes.

OnFontChanged(EventArgs)

Raises the FontChanged event.

OnForeColorChanged(EventArgs)

Raises the ForeColorChanged event.

OnLinkClicked(C1SuperLabelLinkClickedEventArgs)

Raises the LinkClicked event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

OnPaddingChanged(EventArgs)

Raises the PaddingChanged event.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnRightToLeftChanged(EventArgs)

Update internal style when RightToLeft property changes.

OnSizeChanged(EventArgs)

Raises the SizeChanged event.

OnTextChanged(EventArgs)

Raises the TextChanged event.

ProcessMnemonic(char)

Processes a mnemonic character.

Events

Name Description
LinkClicked

Event that fires when the user clicks a hyperlink within a C1SuperLabelBase control.