| C1.Win.TreeView Namespace > C1TreeView Class : ApplyNodeStyles Event |
'Declaration<C1CategoryAttribute("Behavior")> <C1DescriptionAttribute("Occurs before applying styles to a tree node.")> Public Event ApplyNodeStyles As C1TreeViewNodeStylesEventHandler
'UsageDim instance As C1TreeView Dim handler As C1TreeViewNodeStylesEventHandler AddHandler instance.ApplyNodeStyles, handler
[C1Category("Behavior")] [C1Description("Occurs before applying styles to a tree node.")] public event C1TreeViewNodeStylesEventHandler ApplyNodeStyles
[C1Category("Behavior")] [C1Description("Occurs before applying styles to a tree node.")] public: event C1TreeViewNodeStylesEventHandler^ ApplyNodeStyles
The event handler receives an argument of type C1TreeViewNodeStylesEventArgs containing data related to this event. The following C1TreeViewNodeStylesEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Node | Gets the tree node that has been checked, expanded, collapsed, or selected. (Inherited from C1.Win.TreeView.C1TreeViewEventArgs) |
| NodeStyles | Gets the tree node styles of TreeView control. |
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