Flexible TreeView 5.1.9 Help
PaintRowBackground Event



Occurs when treeview paints the node row background. Using this event you can override every node`s background. To do that, paint the custom background and enable the Handled property.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs when treeview paints the node row background.")>
<TreeviewPersonalEventAttribute()>
<CategoryAttribute("Node")>
Public Event PaintRowBackground As ARMSoft.FlexibleTreeView.TreeEventHandler(Of PaintRowBackgroundEventArgs)
'Usage
 
Dim instance As FlexibleTreeView
Dim handler As ARMSoft.FlexibleTreeView.TreeEventHandler(Of PaintRowBackgroundEventArgs)
 
AddHandler instance.PaintRowBackground, handler
[Description("Occurs when treeview paints the node row background.")]
[TreeviewPersonalEvent()]
[Category("Node")]
public event ARMSoft.FlexibleTreeView.TreeEventHandler<PaintRowBackgroundEventArgs> PaintRowBackground
[Description("Occurs when treeview paints the node row background.")]
[TreeviewPersonalEvent()]
[Category("Node")]
public:
event ARMSoft.FlexibleTreeView.TreeEventHandler<PaintRowBackgroundEventArgs^>^ PaintRowBackground
Remarks
Using this event you can override every node`s background. To do that, paint the custom background and enable the Handled property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlexibleTreeView Class
FlexibleTreeView Members

Send Feedback