Show / Hide Table of Contents

    Class Table

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    The Table is a container widget to arrange other widgets in a table where items can span multiple columns or rows. Inherits Container.

    public class Table : Container, IAccessibleObject
    Inheritance
    Object
    EvasObject
    AccessibleObject
    Widget
    Container
    Table
    Implements
    IAccessibleObject

    Constructors

    View Source

    Table(EvasObject)

    Creates and initializes a new instance of the Table class.

    Declaration
    public Table(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    A EvasObject to which the new Table instance will be attached.

    API Level: preview

    Properties

    View Source

    Homogeneous

    Sets or gets whether the layout of this table is homogeneous.

    Declaration
    public bool Homogeneous { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    True for homogeneous, False for no homogeneous.

    API Level: preview
    View Source

    PaddingX

    Sets or gets the horizontal padding between the cells.

    Declaration
    public int PaddingX { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    PaddingY

    Sets or gets the vertical padding between the cells.

    Declaration
    public int PaddingY { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview

    Methods

    View Source

    Clear()

    Removes all the child objects from a table object.

    Declaration
    public void Clear()
    API Level: preview
    View Source

    CreateHandle(EvasObject)

    Creates a widget handle.

    Declaration
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Parent EvasObject.

    Returns
    Type Description
    IntPtr

    Handle IntPtr.

    Overrides
    EvasObject.CreateHandle(EvasObject)
    API Level: preview
    View Source

    GetPartColor(String)

    Gets the color of a particular part of the table.

    Declaration
    public override Color GetPartColor(string part)
    Parameters
    Type Name Description
    String part

    The name of part class, it could be 'bg', 'elm.swllow.content'.

    Returns
    Type Description
    Color

    The color of a particular part.

    Overrides
    Widget.GetPartColor(String)
    API Level: preview
    View Source

    Pack(EvasObject, Int32, Int32, Int32, Int32)

    Adds a subobject on the table with the coordinates passed.

    Declaration
    public void Pack(EvasObject obj, int col, int row, int colspan, int rowspan)
    Parameters
    Type Name Description
    EvasObject obj

    The subobject to be added to the table.

    Int32 col

    The column number.

    Int32 row

    The row number.

    Int32 colspan

    The column span.

    Int32 rowspan

    The row span.

    API Level: preview
    View Source

    SetPartColor(String, Color)

    Sets the color for a particular part of the table.

    Declaration
    public override void SetPartColor(string part, Color color)
    Parameters
    Type Name Description
    String part

    The name of part class.

    Color color

    The color.

    Overrides
    Widget.SetPartColor(String, Color)
    API Level: preview
    View Source

    Unpack(EvasObject)

    Removes the child from the table.

    Declaration
    public void Unpack(EvasObject obj)
    Parameters
    Type Name Description
    EvasObject obj

    The subobject.

    API Level: preview

    Implements

    IAccessibleObject

    Extension Methods

    RotaryEventExtensions.AddRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.Activate(EvasObject)
    RotaryEventExtensions.Deactivate(EvasObject)
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX