| File: System\Windows\Forms\Controls\TreeView\TreeViewAction.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> /// This enum is used to specify the action that caused a TreeViewEventArgs. /// </summary> public enum TreeViewAction { /// <summary> /// The action is unknown. /// </summary> Unknown = 0, /// <summary> /// The event was caused by a keystroke. /// </summary> ByKeyboard = 1, /// <summary> /// The event was caused by a mouse click. /// </summary> ByMouse = 2, /// <summary> /// The tree node is collapsing. /// </summary> Collapse = 3, /// <summary> /// The tree node is expanding. /// </summary> Expand = 4, }