853356257c72c9b3faf3a3a99fbe6aef75595ab4
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Controls / RecyclerView / RecycleItem.cs
1 /* Copyright (c) 2020 Samsung Electronics Co., Ltd.
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  *
15  */
16 using System.ComponentModel;
17
18 namespace Tizen.NUI.Components
19 {
20     /// <summary>
21     /// [Draft] This class provides a basic item for RecyclerView.
22     /// </summary>
23     /// <since_tizen> 8 </since_tizen>
24     /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
25     [EditorBrowsable(EditorBrowsableState.Never)]
26     public class RecycleItem : Control
27     {
28         /// <summary>
29         /// Data index which is binded to item by RecycleAdapter.
30         /// Can access to data of RecycleAdapter using this index.
31         /// </summary>
32         /// <since_tizen> 8 </since_tizen>
33         /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
34         [EditorBrowsable(EditorBrowsableState.Never)]
35         public int DataIndex { get; set; } = 0;
36     }
37 }