Class GridRecycleLayoutManager

    Definition

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

    [Draft] This class implements a grid box layout.

    public class GridRecycleLayoutManager : RecycleLayoutManager
    Inheritance
    object
    RecycleLayoutManager
    GridRecycleLayoutManager

    Properties

    View Source

    Columns

    [Draft] Get/Set the number of columns in the grid

    Declaration
    public int Columns { get; set; }
    Property Value
    Type Description
    int
    View Source

    Rows

    [draft ]Get/Set the number of rows in the grid

    Declaration
    public int Rows { get; set; }
    Property Value
    Type Description
    int

    Methods

    View Source

    CalculateCandidateScrollPosition(float)

    Adjust scrolling position by own scrolling rules.

    Declaration
    public override float CalculateCandidateScrollPosition(float scrollPosition)
    Parameters
    Type Name Description
    float scrollPosition

    Scroll position which is calculated by ScrollableBase

    Returns
    Type Description
    float
    Overrides
    RecycleLayoutManager.CalculateCandidateScrollPosition(float)
    View Source

    CalculateLayoutOrientationSize()

    This is called to find out how much container size can be.

    Declaration
    public override float CalculateLayoutOrientationSize()
    Returns
    Type Description
    float
    Overrides
    RecycleLayoutManager.CalculateLayoutOrientationSize()
    View Source

    Layout(float)

    This is called to find out where items are lain out according to current scroll position.

    Declaration
    public override void Layout(float scrollPosition)
    Parameters
    Type Name Description
    float scrollPosition

    Scroll position which is calculated by ScrollableBase

    Overrides
    RecycleLayoutManager.Layout(float)
    View Source

    Recycle(float)

    This is called to find out which items should be recycled according to current scroll position.

    Declaration
    public override List<RecycleItem> Recycle(float scrollPosition)
    Parameters
    Type Name Description
    float scrollPosition

    Scroll position which is calculated by ScrollableBase

    Returns
    Type Description
    List<><RecycleItem>

    List of RecycleItems which should be recycled.

    Overrides
    RecycleLayoutManager.Recycle(float)
    View Source

    RequestNextFocusableView(View, FocusDirection, bool)

    Gets the next keyboard focusable view in this control towards the given direction.
    A control needs to override this function in order to support two dimensional keyboard navigation.

    Declaration
    public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
    Parameters
    Type Name Description
    View currentFocusedView

    The current focused view.

    View.FocusDirection direction

    The direction to move the focus towards.

    bool loopEnabled

    Whether the focus movement should be looped within the control.

    Returns
    Type Description
    View

    The next keyboard focusable view in this control or an empty handle if no view can be focused.

    Overrides
    RecycleLayoutManager.RequestNextFocusableView(View, View.FocusDirection, bool)

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX