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 wthin a vertical or horizontal stacking correctly

    Inheritance
    System.Object
    LayoutDockPositionOrderer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts
    Assembly: 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
    System.Int32

    The order a view/group should be sorted in, in order for its position to be correctly represented in a horiztonally 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
    System.Int32

    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 © LemonTree Software Ltd. All rights reserved.