Search Results for

    Show / Hide Table of Contents

    Class LayoutDockPositionOrderer

    A helper class for ordering how views should be enumerated in UIs that can not easily dock views/groups and need to ensure they are shown within a vertical or horizontal stacking correctly

    Inheritance
    object
    LayoutDockPositionOrderer
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public static class LayoutDockPositionOrderer

    Methods

    ToHorizontalOrder(LayoutDockPosition)

    Indicates the order a view/group should be sorted in, in order for its position to be correctly represented in a horizontally ordered set of items

    Declaration
    public static int ToHorizontalOrder(this LayoutDockPosition position)
    Parameters
    Type Name Description
    LayoutDockPosition position

    The position to translate to an order position

    Returns
    Type Description
    int

    The order a view/group should be sorted in, in order for its position to be correctly represented in a horizontally ordered set of items

    ToVerticalOrder(LayoutDockPosition)

    Indicates the order a view/group should be sorted in, in order for its position to be correctly represented in a vertically ordered set of items

    Declaration
    public static int ToVerticalOrder(this LayoutDockPosition position)
    Parameters
    Type Name Description
    LayoutDockPosition position

    The position to translate to an order position

    Returns
    Type Description
    int

    The order a view/group should be sorted in, in order for its position to be correctly represented in a vertically ordered set of items

    In this article
    Back to top © LemonEdge Technologies. All rights reserved.