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.
Public Function GetColor( _
   ByVal pColor As eColor _
) As Color
Dim instance As FlexibleTreeView
Dim pColor As eColor
Dim value As Color
value = instance.GetColor(pColor)
public Color GetColor( 
   eColor pColor
Color GetColor( 
   eColor pColor


The color identifier which value to return.

Return Value

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

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


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

Send Feedback