Show / Hide Table of Contents

    Class PointerDirectionExtensions

    Pointer direction extensions.

    Inheritance
    Object
    PointerDirectionExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public static class PointerDirectionExtensions

    Methods

    DownAllowed(PointerDirection)

    Determines if a pointer is allowed to down.

    Declaration
    public static bool DownAllowed(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true, if allowed was downed, false otherwise.

    IsHorizontal(PointerDirection)

    Determines if pointer direction is horizontal.

    Declaration
    public static bool IsHorizontal(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true if is horizontal the specified dir; otherwise, false.

    IsVertical(PointerDirection)

    Determines if pointer direction is vertical.

    Declaration
    public static bool IsVertical(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true if is vertical the specified dir; otherwise, false.

    LeftAllowed(PointerDirection)

    Determines if a pointer is allowed to point left.

    Declaration
    public static bool LeftAllowed(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true, if allowed was lefted, false otherwise.

    RightAllowed(PointerDirection)

    Determines if a pointer is allowed to point right.

    Declaration
    public static bool RightAllowed(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true, if allowed was righted, false otherwise.

    UpAllowed(PointerDirection)

    Determines if a pointer is allowed to point up.

    Declaration
    public static bool UpAllowed(this PointerDirection dir)
    Parameters
    Type Name Description
    PointerDirection dir

    Dir.

    Returns
    Type Description
    Boolean

    true, if allowed was uped, false otherwise.

    Back to top Copyright © 2018 42nd Parallel