Show / Hide Table of Contents

    Interface ILabel

    Interface for Forms9Patch elements that have labels

    Inherited Members
    ILabelStyle.TextColor
    ILabelStyle.HorizontalTextAlignment
    ILabelStyle.VerticalTextAlignment
    ILabelStyle.LineBreakMode
    ILabelStyle.AutoFit
    ILabelStyle.Lines
    ILabelStyle.MinFontSize
    IFontElement.FontAttributes
    IFontElement.FontFamily
    IFontElement.FontSize
    IElement.InstanceId
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public interface ILabel : ILabelStyle, IFontElement, IElement

    Properties

    FittedFontSize

    gets the size of the rendered font IF it was changed per AutoFit (-1 if it was not changed)

    Declaration
    double FittedFontSize { get; }
    Property Value
    Type Description
    Double

    HtmlText

    Alternative Markup text

    Declaration
    string HtmlText { get; set; }
    Property Value
    Type Description
    String

    SynchronizedFontSize

    Allows manual override of FontSize and FittedFontSize to allow manual control of rendered font size

    Declaration
    double SynchronizedFontSize { get; set; }
    Property Value
    Type Description
    Double

    Text

    Plain text

    Declaration
    string Text { get; set; }
    Property Value
    Type Description
    String

    Extension Methods

    FontExtensions.LineHeight(IFontElement)
    FontExtensions.LineSpace(IFontElement)
    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel