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

32 lines
954 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
//---------------------------------------------------------------------------
//
// 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,
}
}