Flexible TreeView 5.1.9 Help
GetColor Method (FlexibleTreeView)



The color identifier which value to return.
Gets the treeview color by the specified color identifier and taking into account the selected theme.
Syntax
'Declaration
 
Public Function GetColor( _
   ByVal pColor As eColor _
) As Color
'Usage
 
Dim instance As FlexibleTreeView
Dim pColor As eColor
Dim value As Color
 
value = instance.GetColor(pColor)
public Color GetColor( 
   eColor pColor
)
public:
Color GetColor( 
   eColor pColor
) 

Parameters

pColor
The color identifier which value to return.

Return Value

The color value.
Remarks
Treeview allows you to override colors and gradients for drawing itself through the Colors property. If the requested color has been overridden, it returns an overridden color, otherwise it returns the global theme manager defined 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

FlexibleTreeView Class
FlexibleTreeView Members
Colors Property
Gradients Property
GetColorGradient Method
Images Property
GetImage Method

Send Feedback