ExtendedLabel
Implements an Extended Label control.
public class ExtendedLabel : Control
Inherits from / implements: Control
Members at a glance
ExtendedLabel | Initializes a new instance of the ExtendedLabel class. |
BackgroundGradientFloatAngle | Gets or sets the background gradient mode float angle. |
BorderColor | Gets or sets the color of the border. |
BorderDashStyle | Gets or sets the border dash style. |
BorderDrawingStyle | Gets or sets the border drawing style. |
CreateParams | Gets the parameters used to create this control's window, with the window styles this control needs added to them. |
DropShadowGradientFloatAngle | Gets or sets the drop-shadow gradient mode float angle. |
DropShadowMargin | Gets or sets the drop shadow margin. |
EndLinearGradientBackgroundColor | Gets or sets the end color of the end linear gradient background. |
EndLinearGradientDropShadowBackgroundColor | Gets or sets the end color of the linear gradient drop shadow background. |
IsBackgroundTransparent | Gets or sets a value indicating whether this instance is background transparent. |
Orientation | Gets or sets the orientation. |
ShouldDrawBorder | Gets or sets a value indicating whether the control should draw border. |
ShouldDrawDropShadow | Gets or sets a value indicating whether the control should draw drop shadow. |
ShouldRefreshUponParentMoveResize | Gets or sets a value indicating whether the control should update itself upon parent control's move or resize. |
StartLinearGradientBackgroundColor | Gets or sets the start color of the linear gradient background. |
StartLinearGradientDropShadowBackgroundColor | Gets or sets the start color of the linear gradient drop shadow background. |
StringFormat | Gets or sets the string format. |
Text | Gets or sets the label text. |
TextAlignment | Gets or sets the alignment for the text in the control. |
VerticalTextDirection | Gets or sets the vertical text direction. |
OnFontChanged | Raises the FontChanged event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
OnHandleCreated | Raises the HandleCreated event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
OnPaint | Raises the Paint event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
OnPaintBackground | Raises the PaintBackground event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
OnParentFontChanged | Raises the ParentFontChanged event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
OnResize | Raises the Resize event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior. |
WndProc | Processes the Windows messages sent to this control's window. |
Constructors
ExtendedLabel
Initializes a new instance of the ExtendedLabel class.
Properties
BackgroundGradientFloatAngle
Gets or sets the background gradient mode float angle.
BorderColor
Gets or sets the color of the border.
BorderDashStyle
Gets or sets the border dash style.
BorderDrawingStyle
Gets or sets the border drawing style.
Value. The border drawing style.
CreateParams
Gets the parameters used to create this control's window, with the window styles this control needs added to them.
DropShadowGradientFloatAngle
Gets or sets the drop-shadow gradient mode float angle.
DropShadowMargin
Gets or sets the drop shadow margin.
EndLinearGradientBackgroundColor
Gets or sets the end color of the end linear gradient background.
EndLinearGradientDropShadowBackgroundColor
Gets or sets the end color of the linear gradient drop shadow background.
IsBackgroundTransparent
Gets or sets a value indicating whether this instance is background transparent.
Orientation
Gets or sets the orientation.
Value. The orientation.
ShouldDrawBorder
Gets or sets a value indicating whether the control should draw border.
ShouldDrawDropShadow
Gets or sets a value indicating whether the control should draw drop shadow.
ShouldRefreshUponParentMoveResize
Gets or sets a value indicating whether the control should update itself upon parent control's move or resize.
StartLinearGradientBackgroundColor
Gets or sets the start color of the linear gradient background.
StartLinearGradientDropShadowBackgroundColor
Gets or sets the start color of the linear gradient drop shadow background.
StringFormat
Gets or sets the string format.
Value. The string format.
Text
Gets or sets the label text.
TextAlignment
Gets or sets the alignment for the text in the control.
Value. The alignment.
VerticalTextDirection
Gets or sets the vertical text direction.
Value. The vertical text direction.
Methods
OnFontChanged
Raises the FontChanged event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnHandleCreated
Raises the HandleCreated event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnPaint
Raises the Paint event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnPaintBackground
Raises the PaintBackground event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- pevent
- The data for the event.
OnParentFontChanged
Raises the ParentFontChanged event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnResize
Raises the Resize event. ExtendedLabel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
WndProc
Processes the Windows messages sent to this control's window.