Class RecyclerViewItem
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
This class provides a basic item for CollectionView.
C#Copypublic class RecyclerViewItem : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlRecyclerViewItem
- Derived
-
Tizen.NUI.Components.DefaultGridItemTizen.NUI.Components.DefaultLinearItemTizen.NUI.Components.DefaultTitleItem
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic RecyclerViewItem()
API Level: 9
Declaration
C#Copypublic RecyclerViewItem(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style | Create RecyclerViewItem by special style defined in UX. |
API Level: 9
View Source
RecyclerViewItem(RecyclerViewItemStyle)
Creates a new instance of a RecyclerViewItem with style.
Declaration
C#Copypublic RecyclerViewItem(RecyclerViewItemStyle itemStyle)
Parameters
Type | Name | Description |
---|---|---|
RecyclerViewItemStyle | itemStyle | Create RecyclerViewItem by style customized by user. |
API Level: 9
Fields
Declaration
C#Copypublic static readonly BindableProperty IsEnabledProperty
Field Value
Type | Description |
---|---|
Tizen.NUI.Binding.BindableProperty |
API Level: 9
Declaration
C#Copypublic static readonly BindableProperty IsSelectableProperty
Field Value
Type | Description |
---|---|
Tizen.NUI.Binding.BindableProperty |
API Level: 9
Declaration
C#Copypublic static readonly BindableProperty IsSelectedProperty
Field Value
Type | Description |
---|---|
Tizen.NUI.Binding.BindableProperty |
API Level: 9
Properties
View Source
IsEnabled
Flag to decide enabled state in RecyclerViewItem. Set enabled state false makes item untouchable and unfocusable.
Declaration
C#Copypublic bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 9
Declaration
C#Copypublic bool IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 9
Declaration
C#Copypublic bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 9
Methods
Declaration
C#Copypublic override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type | Name | Description |
---|---|---|
ViewStyle | viewStyle | The style to apply. |
Overrides
API Level: 9
Declaration
C#Copyprotected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
ViewStyle | The default ViewItem style. |
Overrides
Tizen.NUI.Components.Control.CreateViewStyle()
API Level: 9
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
API Level: 9
Declaration
C#Copyprotected virtual void OnClicked(ClickedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ClickedEventArgs | eventArgs | The click information. |
API Level: 9
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#Copypublic event EventHandler<ClickedEventArgs> Clicked
Event Type
Type | Description |
---|---|
System.EventHandler<ClickedEventArgs> |
API Level: 9
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable