Class RecyclerViewItem

Definition

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

This class provides a basic item for CollectionView.

C#
Copy
public class RecyclerViewItem : Control, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
RecyclerViewItem
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

RecyclerViewItem()

Creates a new instance of RecyclerViewItem.

Declaration
C#
Copy
public RecyclerViewItem()
View Source

RecyclerViewItem(string)

Creates a new instance of RecyclerViewItem with style.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
public static readonly BindableProperty IsEnabledProperty
Field Value
Type Description
Tizen.NUI.Binding.BindableProperty
View Source

IsSelectableProperty

Property of boolean Selectable flag.

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

IsSelectedProperty

Property of boolean Selected flag.

Declaration
C#
Copy
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
C#
Copy
public bool IsEnabled { get; set; }
Property Value
Type Description
bool
View Source

IsSelectable

Flag to decide RecyclerViewItem can be selected or not.

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

IsSelected

Flag to decide selected state in RecyclerViewItem.

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

Methods

View Source

ApplyStyle(ViewStyle)

Apply style to RecyclerViewItem.

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

The style to apply.

Overrides
View Source

CreateViewStyle()

Get ViewItem style.

Declaration
C#
Copy
protected override ViewStyle CreateViewStyle()
Returns
Type Description
ViewStyle

The default ViewItem style.

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

Dispose(DisposeTypes)

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
public event EventHandler<ClickedEventArgs> Clicked
Event Type
Type Description
System.EventHandler<TEventArgs><ClickedEventArgs>

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable