Show / Hide Table of Contents

    Interface ISegment

    Interface for Forms9Patch.Segment elements

    Inherited Members
    IMenuItem.IconImage
    IMenuItem.IconText
    IMenuItem.Text
    IMenuItem.HtmlText
    IMenuItem.IconFontFamily
    IMenuItem.IconFontSize
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public interface ISegment : IMenuItem

    Properties

    Command

    Command to be invoked upon segment being clicked

    Declaration
    ICommand Command { get; set; }
    Property Value
    Type Description
    ICommand

    CommandParameter

    Parameter passed with command that is invoked when segment is clicked

    Declaration
    object CommandParameter { get; set; }
    Property Value
    Type Description
    Object

    FontAttributes

    Segment's label's font attributes

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

    IsEnabled

    Is segment enabled?

    Declaration
    bool IsEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    IsSelected

    Is segment selected

    Declaration
    bool IsSelected { get; set; }
    Property Value
    Type Description
    Boolean

    Orientation

    Orientation of Segemnt's icon to its text

    Declaration
    StackOrientation Orientation { get; set; }
    Property Value
    Type Description
    StackOrientation

    TextColor

    TextColor

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

    VisualElement

    Gets the VisualElement used for the Segment

    Declaration
    VisualElement VisualElement { get; }
    Property Value
    Type Description
    VisualElement

    Extension Methods

    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