Version

CreateSimpleColorTool Method

Create a new RadialMenuColorTool with a simple list of colors and automatically generates child colors for each specified root color.
Syntax
'Declaration
 
Public Shared Function CreateSimpleColorTool( _
   ByVal key As String, _
   ByVal rootColors() As Color, _
   ByVal childColorCount As Integer _
) As RadialMenuColorTool
public static RadialMenuColorTool CreateSimpleColorTool( 
   string key,
   Color[] rootColors,
   int childColorCount
)

Parameters

key
The Key of the newly created root color tool
rootColors
An array of colors to use as the direct child colors of the color tool. This grandchild colors will be generated automatically based on the root color.
childColorCount
The number of auto-generated color well tools under each root color well tool.

Return Value

The newly-created color tool.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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