Flexible TreeView 5.1.9 Help
GetTextColor Method (NodeButton)



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

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

NodeButton Class
NodeButton Members
Base Implementation in GetTextColor

Send Feedback