| File: System\Windows\Forms\Controls\ListView\ItemActivation.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms\System.Windows.Forms.csproj (System.Windows.Forms) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows.Forms; /// <summary> /// Specifies how the user activates items and the appearance of items as the /// mouse cursor moves over them. /// </summary> public enum ItemActivation { /// <summary> /// Activate items with a double-click. /// Items do not change appearance. /// </summary> Standard = 0, /// <summary> /// Activate items with a single click. The cursor changes shape and the /// item text changes color. /// </summary> OneClick = 1, /// <summary> /// Activate items with a double click. The item text changes color. /// </summary> TwoClick = 2, }