Show / Hide Table of Contents

    Interface ICollectionViewController

    Interface to control CollectionView on internal modules these apis not open as CollectionView API

    Namespace: Tizen.UIExtensions.NUI
    Assembly: Tizen.UIExtensions.NUI.dll
    Syntax
    public interface ICollectionViewController

    Properties

    Count

    The number of items

    Declaration
    int Count { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    ContentSizeUpdated()

    Notify scroll canvas size was changed

    Declaration
    void ContentSizeUpdated()

    GetItemSize()

    Gets a item size

    Declaration
    Size GetItemSize()
    Returns
    Type Description
    Size

    Size of item

    GetItemSize(Double, Double)

    Gets a item size with contstraint

    Declaration
    Size GetItemSize(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    A width size that could be reached as maximum

    System.Double heightConstraint

    A height size that could be reached as maximum

    Returns
    Type Description
    Size

    Size of item

    GetItemSize(Int32, Double, Double)

    Gets a item size with contstraint

    Declaration
    Size GetItemSize(int index, double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Int32 index

    Index of item to get a size

    System.Double widthConstraint

    A width size that could be reached as maximum

    System.Double heightConstraint

    A height size that could be reached as maximum

    Returns
    Type Description
    Size

    Size of item

    ItemMeasureInvalidated(Int32)

    Notify that item measure result is changed

    Declaration
    void ItemMeasureInvalidated(int index)
    Parameters
    Type Name Description
    System.Int32 index

    RealizeView(Int32)

    Request realize a view, it create a view to represent a item

    Declaration
    ViewHolder RealizeView(int index)
    Parameters
    Type Name Description
    System.Int32 index

    index of item

    Returns
    Type Description
    ViewHolder

    Realized view

    RequestItemSelect(Int32)

    Request item select

    Declaration
    void RequestItemSelect(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Item index

    RequestLayoutItems()

    Request layouting items newly

    Declaration
    void RequestLayoutItems()

    UnrealizeView(ViewHolder)

    Request unrealize a view, it remove a view from CollectionView

    Declaration
    void UnrealizeView(ViewHolder view)
    Parameters
    Type Name Description
    ViewHolder view

    A view to unrealize

    Back to top Copyright © 2021 Samsung
    Generated by DocFX