menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawTreeViewAdvNodeEventArgs - API Reference

    Show / Hide Table of Contents

    Class DrawTreeViewAdvNodeEventArgs

    Provides data for the DrawNodeCheckBox and event.

    Inheritance
    System.Object
    DrawTreeViewAdvNodeEventArgs
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DrawTreeViewAdvNodeEventArgs : HandledEventArgs

    Constructors

    DrawTreeViewAdvNodeEventArgs(TreeNodeAdv, Graphics, Rectangle, ButtonState)

    Initializes a new instance of the DrawTreeViewAdvNodeEventArgs class.

    Declaration
    public DrawTreeViewAdvNodeEventArgs(TreeNodeAdv treeNodeAdv, Graphics graphics, Rectangle rectangle, ButtonState buttonState)
    Parameters
    Type Name Description
    TreeNodeAdv treeNodeAdv

    The TreeNodeAdv to draw the CheckBox or RadioButton.

    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object to draw the CheckBox or RadioButton in the TreeNodeAdv.

    System.Drawing.Rectangle rectangle

    The size and location of the CheckBox or RadioButton in TreeViewAdv to draw.

    System.Windows.Forms.ButtonState buttonState

    The current System.Windows.Forms.ButtonState to draw the CheckBox or RadioButton in the TreeNodeAdv.

    Properties

    Bounds

    Gets the size and location of the CheckBox or RadioButton in TreeViewAdv to draw.

    Declaration
    public Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    System.Drawing.Rectangle structure specifying the boundaries of the CheckBox or RadioButton in the TreeNodeAdv.

    Graphics

    Gets the System.Drawing.Graphics object to draw the CheckBox or RadioButton in the TreeNodeAdv.

    Declaration
    public Graphics Graphics { get; }
    Property Value
    Type Description
    System.Drawing.Graphics

    Node

    Gets the TreeNodeAdv to draw the CheckBox or RadioButton.

    Declaration
    public TreeNodeAdv Node { get; }
    Property Value
    Type Description
    TreeNodeAdv

    State

    Gets the current System.Windows.Forms.ButtonState to draw the CheckBox or RadioButton in the TreeNodeAdv.

    Declaration
    public ButtonState State { get; }
    Property Value
    Type Description
    System.Windows.Forms.ButtonState
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved