Flexible TreeView 5.1.9 Help
GetColorGradient Method (FlexibleTreeView)



The color gradient identifier which value to return.
Gets the treeview color gradient by the specified identifier and taking into account the selected theme.
Syntax
'Declaration
 
Public Function GetColorGradient( _
   ByVal pColorGradient As eColorGradient _
) As ColorGradient
'Usage
 
Dim instance As FlexibleTreeView
Dim pColorGradient As eColorGradient
Dim value As ColorGradient
 
value = instance.GetColorGradient(pColorGradient)
public ColorGradient GetColorGradient( 
   eColorGradient pColorGradient
)
public:
ColorGradient^ GetColorGradient( 
   eColorGradient pColorGradient
) 

Parameters

pColorGradient
The color gradient identifier which value to return.

Return Value

The color gradient information.
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, else 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
Gradients Property
Colors Property
GetColor Method
Images Property
GetImage Method

Send Feedback