WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeNodeAdvPaintBackgroundEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeNodeAdvPaintBackgroundEventArgs

    Represents an event args that are passed in the NodeBackGround event of the TreeViewAdv control.

    Inheritance
    System.Object
    System.EventArgs
    TreeNodeAdvBasePaintEventArgs
    TreeNodeAdvPaintBackgroundEventArgs
    Inherited Members
    TreeNodeAdvBasePaintEventArgs.Node
    TreeNodeAdvBasePaintEventArgs.Bounds
    TreeNodeAdvBasePaintEventArgs.Graphics
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TreeNodeAdvPaintBackgroundEventArgs : TreeNodeAdvBasePaintEventArgs
    Remarks

    It contains information about the appearance of the node background and the location and sizes of different parts of the node.

    Constructors

    TreeNodeAdvPaintBackgroundEventArgs(TreeNodeAdv, Graphics, Boolean, Boolean, Boolean, Boolean, BrushInfo)

    Initialize a new instance of the TreeNodeAdvPaintBackgroundEventArgs class.

    Declaration
    public TreeNodeAdvPaintBackgroundEventArgs(TreeNodeAdv node, Graphics g, bool selected, bool active, bool fullRowSelect, bool hotTracked, BrushInfo brushInfo)
    Parameters
    Type Name Description
    TreeNodeAdv node

    The node associated with event.

    System.Drawing.Graphics g

    The instance of Graphics class.

    System.Boolean selected

    Indicates whether the Node is selected.

    System.Boolean active

    Indicates whether the Node is active.

    System.Boolean fullRowSelect

    Indicates whether FullRowSelect is enabled.

    System.Boolean hotTracked

    Indicates whether HotTracking is enabled.

    BrushInfo brushInfo

    The BrushInfo with which the background will be painted.

    Properties

    Active

    Gets or sets a value indicating whether the node is Active.

    Declaration
    public bool Active { get; set; }
    Property Value
    Type Description
    System.Boolean

    BrushInfo

    Gets or sets the BrushInfo with which the background will be painted by default, if you don't mark this event as handled.

    Declaration
    public BrushInfo BrushInfo { get; set; }
    Property Value
    Type Description
    BrushInfo
    Remarks

    You can optionally change the properties of this BrushInfo object or provide a new BrushInfo without marking this event as handled Handled.

    FullRowSelect

    Gets a value indicating whether the FullRowSelect is enabled.

    Declaration
    public bool FullRowSelect { get; }
    Property Value
    Type Description
    System.Boolean

    Handled

    Gets or sets a value indicating whether the event was handled.

    Declaration
    public bool Handled { get; set; }
    Property Value
    Type Description
    System.Boolean

    HotTracked

    Gets or sets a value indicating whether the HotTracking is enabled.

    Declaration
    public bool HotTracked { get; set; }
    Property Value
    Type Description
    System.Boolean

    Selected

    Gets or sets a value indicating whether the node is selected.

    Declaration
    public bool Selected { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved