Sic.Framework-Nanjing-Baishi/MECF.Framework.UI.Client/DataGridTransform/DataGrid/Microsoft/Windows/Controls/DataGridSelectionMode.cs

32 lines
954 B
C#

//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace ExtendedGrid.Microsoft.Windows.Controls
{
/// <summary>
/// The selection modes supported by DataGrid.
/// </summary>
public enum DataGridSelectionMode
{
/// <summary>
/// Only one item can be selected at a time.
/// </summary>
Single,
/// <summary>
/// Multiple items can be selected, and the input gestures will default
/// to the "extended" mode.
/// </summary>
/// <remarks>
/// In Extended mode, selecting multiple items requires holding down
/// the SHIFT or CTRL keys to extend the selection from an anchor point.
/// </remarks>
Extended,
}
}