Search Results for

    Show / Hide Table of Contents

    Struct VerticalMargin

    Margin struct

    Namespace: Terminaux.Base.Structures
    Assembly: Terminaux.dll
    Syntax
    public struct VerticalMargin

    Constructors

    | Edit this page View Source

    VerticalMargin(int, int, int)

    Makes a new vertical margin instance

    Declaration
    public VerticalMargin(int top, int bottom, int height)
    Parameters
    Type Name Description
    int top

    A top margin

    int bottom

    A bottom margin

    int height

    Height to subtract from to get margins

    | Edit this page View Source

    VerticalMargin(VerticalPad, int)

    Makes a new vertical margin instance

    Declaration
    public VerticalMargin(VerticalPad margins, int height)
    Parameters
    Type Name Description
    VerticalPad margins

    Margins

    int height

    Height to subtract from to get margins

    Properties

    | Edit this page View Source

    Height

    Gets the final height with margins applied

    Declaration
    public readonly int Height { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Margins

    Gets the margin values

    Declaration
    public readonly VerticalPad Margins { get; }
    Property Value
    Type Description
    VerticalPad

    Methods

    | Edit this page View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    System.ValueType.Equals(object)
    | Edit this page View Source

    Equals(VerticalMargin)

    Declaration
    public bool Equals(VerticalMargin other)
    Parameters
    Type Name Description
    VerticalMargin other
    Returns
    Type Description
    bool
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    System.ValueType.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(VerticalMargin, VerticalMargin)

    Declaration
    public static bool operator ==(VerticalMargin left, VerticalMargin right)
    Parameters
    Type Name Description
    VerticalMargin left
    VerticalMargin right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(VerticalMargin, VerticalMargin)

    Declaration
    public static bool operator !=(VerticalMargin left, VerticalMargin right)
    Parameters
    Type Name Description
    VerticalMargin left
    VerticalMargin right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX