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.
Public Overrides Function GetTextColor( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext _
) As Color
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
Color GetTextColor( 
   Node^ pNode,
   DrawContext^ pContext
) override 


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

Return Value

The text color.

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


NodeButton Class
NodeButton Members
Base Implementation in GetTextColor

Send Feedback