Class PaddingType

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    The PaddingType class represents padding properties used in layouting.

    public class PaddingType : Disposable, IDisposable
    Inheritance
    object
    Disposable
    PaddingType
    Implements
    System.IDisposable

    Constructors

    View Source

    PaddingType()

    Creates an uninitialized PaddingType.

    Declaration
    public PaddingType()
    View Source

    PaddingType(float, float, float, float)

    PaddingType Constructor.

    Declaration
    public PaddingType(float start, float end, float top, float bottom)
    Parameters
    Type Name Description
    float start

    Start padding or X coordinate

    float end

    End padding or Y coordinate

    float top

    Top padding or Height

    float bottom

    Bottom padding or Width

    Properties

    View Source

    Bottom

    The Bottom value vertically.

    Declaration
    public float Bottom { get; set; }
    Property Value
    Type Description
    float
    View Source

    End

    The End value horizontally.

    Declaration
    public float End { get; set; }
    Property Value
    Type Description
    float
    View Source

    Start

    The Start value horizontally.

    Declaration
    public float Start { get; set; }
    Property Value
    Type Description
    float
    View Source

    Top

    The Top value vertically.

    Declaration
    public float Top { get; set; }
    Property Value
    Type Description
    float

    Methods

    View Source

    Equals(object)

    Equals

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    object o

    The object should be compared.

    Returns
    Type Description
    bool

    True if equal.

    Overrides
    object.Equals(object)
    View Source

    GetHashCode()

    Gets the hash code of this baseHandle.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The Hash Code.

    Overrides
    object.GetHashCode()
    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    Tizen.NUI.Disposable.ReleaseSwigCPtr(Tizen.System.Runtime.InteropServices.HandleRef)
    View Source

    Set(float, float, float, float)

    Assignment from individual values.

    Declaration
    public void Set(float newStart, float newEnd, float newTop, float newBottom)
    Parameters
    Type Name Description
    float newStart

    Start padding or X coordinate

    float newEnd

    End padding or Y coordinate

    float newTop

    Top padding or Height

    float newBottom

    Bottom padding or Width

    Operators

    View Source

    operator ==(PaddingType, PaddingType)

    Equality operator.

    Declaration
    public static bool operator ==(PaddingType a, PaddingType b)
    Parameters
    Type Name Description
    PaddingType a

    First operand

    PaddingType b

    Second operand

    Returns
    Type Description
    bool

    True if the values are identical

    View Source

    operator !=(PaddingType, PaddingType)

    Inequality operator.

    Declaration
    public static bool operator !=(PaddingType a, PaddingType b)
    Parameters
    Type Name Description
    PaddingType a

    First operand

    PaddingType b

    Second operand

    Returns
    Type Description
    bool

    True if the values are not identical

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX