Show / Hide Table of Contents

    Interface ILabelStyle

    Interface for Forms9Patch Label styling

    Inherited Members
    IFontElement.FontAttributes
    IFontElement.FontFamily
    IFontElement.FontSize
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public interface ILabelStyle : IFontElement

    Properties

    AutoFit

    Label's AutoFit algorithm

    Declaration
    AutoFit AutoFit { get; set; }
    Property Value
    Type Description
    AutoFit

    HorizontalTextAlignment

    Label's horizontal alignment

    Declaration
    TextAlignment HorizontalTextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    LineBreakMode

    Label's line break mode

    Declaration
    LineBreakMode LineBreakMode { get; set; }
    Property Value
    Type Description
    LineBreakMode

    Lines

    Manual override for number of lines to AutoFit or truncate

    Declaration
    int Lines { get; set; }
    Property Value
    Type Description
    Int32

    MinFontSize

    Lower limit of AutoFit font size

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

    TextColor

    Color of label's text

    Declaration
    Color TextColor { get; set; }
    Property Value
    Type Description
    Color

    VerticalTextAlignment

    Labe's vertical alignment

    Declaration
    TextAlignment VerticalTextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    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