Class RecyclerViewItem

    Definition

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

    This class provides a basic item for CollectionView.

    public class RecyclerViewItem : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Tizen.NUI.Components.Control
    RecyclerViewItem
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    RecyclerViewItem()

    Creates a new instance of RecyclerViewItem.

    Declaration
    public RecyclerViewItem()
    View Source

    RecyclerViewItem(string)

    Creates a new instance of RecyclerViewItem with style.

    Declaration
    public RecyclerViewItem(string style)
    Parameters
    Type Name Description
    string style

    Create RecyclerViewItem by special style defined in UX.

    View Source

    RecyclerViewItem(RecyclerViewItemStyle)

    Creates a new instance of a RecyclerViewItem with style.

    Declaration
    public RecyclerViewItem(RecyclerViewItemStyle itemStyle)
    Parameters
    Type Name Description
    RecyclerViewItemStyle itemStyle

    Create RecyclerViewItem by style customized by user.

    Fields

    View Source

    IsEnabledProperty

    Property of boolean Enable flag.

    Declaration
    public static readonly BindableProperty IsEnabledProperty
    Field Value
    Type Description
    Tizen.NUI.Binding.BindableProperty
    View Source

    IsSelectableProperty

    Property of boolean Selectable flag.

    Declaration
    public static readonly BindableProperty IsSelectableProperty
    Field Value
    Type Description
    Tizen.NUI.Binding.BindableProperty
    View Source

    IsSelectedProperty

    Property of boolean Selected flag.

    Declaration
    public static readonly BindableProperty IsSelectedProperty
    Field Value
    Type Description
    Tizen.NUI.Binding.BindableProperty

    Properties

    View Source

    IsEnabled

    Flag to decide enabled state in RecyclerViewItem. Set enabled state false makes item untouchable and unfocusable.

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsSelectable

    Flag to decide RecyclerViewItem can be selected or not.

    Declaration
    public bool IsSelectable { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsSelected

    Flag to decide selected state in RecyclerViewItem.

    Declaration
    public bool IsSelected { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    ApplyStyle(ViewStyle)

    Apply style to RecyclerViewItem.

    Declaration
    public override void ApplyStyle(ViewStyle viewStyle)
    Parameters
    Type Name Description
    ViewStyle viewStyle

    The style to apply.

    Overrides
    View.ApplyStyle(ViewStyle)
    View Source

    CreateViewStyle()

    Get ViewItem style.

    Declaration
    protected override ViewStyle CreateViewStyle()
    Returns
    Type Description
    ViewStyle

    The default ViewItem style.

    Overrides
    Tizen.NUI.Components.Control.CreateViewStyle()
    View Source

    Dispose(DisposeTypes)

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
    View Source

    OnClicked(ClickedEventArgs)

    Called when the ViewItem is Clicked by a user

    Declaration
    protected virtual void OnClicked(ClickedEventArgs eventArgs)
    Parameters
    Type Name Description
    ClickedEventArgs eventArgs

    The click information.

    Events

    View Source

    Clicked

    An event for the RecyclerViewItem clicked signal which can be used to subscribe or unsubscribe the event handler provided by the user.

    Declaration
    public event EventHandler<ClickedEventArgs> Clicked
    Event Type
    Type Description
    System.EventHandler<TEventArgs><ClickedEventArgs>

    Implements

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