Flexible TreeView 5.1.9 Help
GetColorById Method



The target node for which to retrieve the color.
The current drawing operation context.
The target color identifier.
Get the color value by its identifier.
Syntax
'Declaration
 
Protected Function GetColorById( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext, _
   ByVal color As eColor _
) As Color
'Usage
 
Dim instance As NodeControl
Dim pNode As Node
Dim pContext As DrawContext
Dim color As eColor
Dim value As Color
 
value = instance.GetColorById(pNode, pContext, color)
protected Color GetColorById( 
   Node pNode,
   DrawContext pContext,
   eColor color
)
protected:
Color GetColorById( 
   Node^ pNode,
   DrawContext^ pContext,
   eColor color
) 

Parameters

pNode
The target node for which to retrieve the color.
pContext
The current drawing operation context.
color
The target color identifier.

Return Value

The System.Drawing.Color instance.
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

NodeControl Class
NodeControl Members

Send Feedback