Flexible TreeView 5.1.9 Help
GetTextColor Method (NodeControl)



The target node.
The draw context for current draw operation.
Gets the text color according to the draw context state.
Syntax
'Declaration
 
Public Overridable Function GetTextColor( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext _
) As Color
'Usage
 
Dim instance As NodeControl
Dim pNode As Node
Dim pContext As DrawContext
Dim value As Color
 
value = instance.GetTextColor(pNode, pContext)
public virtual Color GetTextColor( 
   Node pNode,
   DrawContext pContext
)
public:
virtual Color GetTextColor( 
   Node^ pNode,
   DrawContext^ pContext
) 

Parameters

pNode
The target node.
pContext
The draw context for current draw operation.

Return Value

The text color.
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