[NUI] Introduce CollectionView and related classes. (#2525)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Controls / RecyclerView / ItemSelectionMode.cs
1 /* Copyright (c) 2021 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
17 using System.ComponentModel;
18
19 namespace Tizen.NUI.Components
20 {
21     /// <summary>
22     /// Selection mode of CollecitonView.
23     /// </summary>
24     [EditorBrowsable(EditorBrowsableState.Never)]
25     public enum ItemSelectionMode
26     {
27         /// <summary>
28         /// None of item can be selected.
29         /// </summary>
30        [EditorBrowsable(EditorBrowsableState.Never)]
31         None,
32         /// <summary>
33         /// Single selection. select item exculsively so previous selected item will be unselected.
34         /// </summary>
35        [EditorBrowsable(EditorBrowsableState.Never)]
36         SingleSelection,
37         /// <summary>
38         /// Multiple selections. select multiple items and previous selected item still remains selected.
39         /// </summary>
40        [EditorBrowsable(EditorBrowsableState.Never)]
41         MultipleSelections
42     }
43 }