Show / Hide Table of Contents

    Class GenGridItem

    Definition

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

    It inherits GenItem. An instance to the gengrid item is added. It contains the Update() method to update a gengrid item which is given.

    public class GenGridItem : GenItem
    Inheritance
    Object
    ItemObject
    GenItem
    GenGridItem

    Properties

    View Source

    Column

    Gets or sets the gengrid item's column position, relative to the whole gengrid's grid area.

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

    IsSelected

    Gets or sets whether a given gengrid item is selected. If one gengrid item is selected, any other previously selected items get unselected in favor of this new one.

    Declaration
    public override bool IsSelected { get; set; }
    Property Value
    Type Description
    Boolean
    Overrides
    GenItem.IsSelected
    Remarks

    If true, it is selected. If false, it is unselected.

    API Level: preview
    View Source

    Row

    Gets or sets the gengrid item's row position, relative to the whole gengrid's grid area.

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

    SelectionMode

    Gets the gengrid item's select mode.

    Declaration
    public override GenItemSelectionMode SelectionMode { get; set; }
    Property Value
    Type Description
    GenItemSelectionMode
    Overrides
    GenItem.SelectionMode
    API Level: preview
    View Source

    TooltipStyle

    Sets or gets, or sets the style of the given gengrid item's tooltip.

    Declaration
    public override string TooltipStyle { get; set; }
    Property Value
    Type Description
    String
    Overrides
    GenItem.TooltipStyle
    API Level: preview

    Methods

    View Source

    SetTooltipText(String)

    Sets the text to be shown in the gengrid item.

    Declaration
    public override void SetTooltipText(string tooltip)
    Parameters
    Type Name Description
    String tooltip

    The text to set.

    Overrides
    GenItem.SetTooltipText(String)
    API Level: preview
    View Source

    UnsetTooltip()

    Unsets the tooltip from item.

    Declaration
    public override void UnsetTooltip()
    Overrides
    GenItem.UnsetTooltip()
    API Level: preview
    View Source

    Update()

    Updates the content of a given gengrid item. This updates an item by calling all the GenItem class functions again to get the content, text, and states. Use this when the original item data has changed and you want the changes to reflect.

    Declaration
    public override void Update()
    Overrides
    GenItem.Update()
    Remarks

    UpdateRealizedItems() to update the contents of all the realized items.

    API Level: preview
    View Source

    UpdateTooltipDelegate()

    Sets the content to be shown in the tooltip item.

    Declaration
    protected override void UpdateTooltipDelegate()
    Overrides
    GenItem.UpdateTooltipDelegate()
    API Level: preview

    Extension Methods

    ItemObjectExtension.GrabHighlight(ItemObject)
    ItemObjectExtension.ClearHighlight(ItemObject)
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX