Show / Hide Table of Contents

Class TextLabelElement

Inheritance
System.Object
DisposableObject
Element
TextElement
TextLabelElement
Implements
System.IDisposable
Inherited Members
TextElement.Text
TextElement.TextChanged
TextElement.OnTextChanged(EventArgs)
Element.Host
Element.OwnedElements
Element.FieldControlContext
Element.ZOrder
Element.Visible
Element.Enabled
Element.MouseTransparent
Element.Region
Element.DisplayRegion
Element.Left
Element.Top
Element.Width
Element.Height
Element.MouseIsOver
Element.Tags
Element.MouseClick
Element.MouseDoubleClick
Element.MouseDown
Element.MouseUp
Element.MouseMove
Element.MouseWheel
Element.MouseEnter
Element.MouseLeave
Element.MouseDragStart
Element.MouseDrag
Element.MouseDragRelease
Element.MouseDragCancel
Element.Repaint()
Element.Invalidate()
Element.UpdateLocation(Int32, Int32)
Element.Destructor()
Element.FieldControlContextChanged()
Element.ZOrderChanged()
Element.RegionChanged()
Element.VisibleChanged()
Element.EnabledChanged()
Element.MouseTransparentChanged()
Element.OnMouseDoubleClick(MouseEventArgs)
Element.OnMouseDown(MouseEventArgs)
Element.OnMouseUp(MouseEventArgs)
Element.OnMouseMove(MouseEventArgs)
Element.OnMouseWheel(MouseEventArgs)
Element.OnMouseDragStart(MouseEventArgs)
Element.OnMouseDrag(MouseEventArgs)
Element.OnMouseDragRelease(MouseEventArgs)
Element.OnMouseDragCancel(EventArgs)
DisposableObject.DisposeAndNull<T>(T)
DisposableObject.DisposeStarted
DisposableObject.Disposed
DisposableObject.EnsureObjectNotDisposed()
DisposableObject.Dispose()
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
Element.OnMouseClick(MouseEventArgs)

OnMouseEnter(EventArgs)

Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
Overrides
Element.OnMouseEnter(EventArgs)

OnMouseLeave(EventArgs)

Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
Overrides
Element.OnMouseLeave(EventArgs)

Paint(Graphics)

Declaration
protected override void Paint(Graphics gr)
Parameters
Type Name Description
System.Drawing.Graphics gr
Overrides
Element.Paint(Graphics)

Implements

System.IDisposable

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX