Class TreeNodeAdvPaintBackgroundEventArgs
Represents an event args that are passed in the NodeBackGround event of the TreeViewAdv control.
Inheritance
Inherited Members
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 |
---|
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 |
---|
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 |
---|
System.Boolean |
Handled
Gets or sets a value indicating whether the event was handled.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
HotTracked
Gets or sets a value indicating whether the HotTracking is enabled.
Declaration
public bool HotTracked { get; set; }
Property Value
Type |
---|
System.Boolean |
Selected
Gets or sets a value indicating whether the node is selected.
Declaration
public bool Selected { get; set; }
Property Value
Type |
---|
System.Boolean |