File: System\Windows\Forms\Controls\TreeView\TreeViewDrawMode.cs
Web Access
Project: src\src\System.Windows.Forms\src\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 responsibility for drawing TreeView nodes.
/// </summary>
public enum TreeViewDrawMode
{
    /// <summary>
    ///  The operating system paints the nodes of the TreeView.
    /// </summary>
    Normal = 0,
 
    /// <summary>
    ///  The user needs to paint the text only.
    /// </summary>
    OwnerDrawText = 1,
 
    /// <summary>
    ///  The user paints the entire row corresponding to a node, including lines and boxes.
    /// </summary>
    OwnerDrawAll = 2,
}