// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
namespace Perspex.Controls
{
///
/// Defines the selection mode for a control which can select multiple items.
///
[Flags]
public enum SelectionMode
{
///
/// One item can be selected.
///
Single = 0x00,
///
/// Multiple items can be selected.
///
Multiple = 0x01,
///
/// Item selection can be toggled by tapping/spacebar.
///
Toggle = 0x02,
///
/// An item will always be selected as long as there are items to select.
///
AlwaysSelected = 0x04,
}
}