Class TextLabelElement
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NFX.WinForms.Elements
Assembly: NFX.WinForms.dll
Syntax
public class TextLabelElement : TextElement, IDisposable
Constructors
TextLabelElement(ElementHostControl)
Declaration
public TextLabelElement(ElementHostControl host)
Parameters
Type | Name | Description |
---|---|---|
ElementHostControl | host |
Fields
Hyperlink
Declaration
public EventHandler Hyperlink
Field Value
Type | Description |
---|---|
System.EventHandler |
Properties
Alignment
Declaration
public StringAlignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.StringAlignment |
IsHyperlink
Indicates whether this label element is a hyperlink and should raise OnHyperlink event
Declaration
public bool IsHyperlink { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
OnHyperlink(EventArgs)
Declaration
protected virtual void OnHyperlink(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnMouseClick(MouseEventArgs)
Declaration
protected override void OnMouseClick(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
Paint(Graphics)
Declaration
protected override void Paint(Graphics gr)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gr |
Overrides
Implements
System.IDisposable