Version

GetDefaultCategoryColors Method

Returns the collection of colors which should be displayed in the drop down when modifying a category.
Syntax
'Declaration
 
Protected Overridable Function GetDefaultCategoryColors( _
   ByRef areCustomCategoryColorsAllowed As Boolean _
) As IList(Of Color)
protected virtual IList<Color> GetDefaultCategoryColors( 
   out bool areCustomCategoryColorsAllowed
)

Parameters

areCustomCategoryColorsAllowed
Indicates whether the user can use any color when creating a custom category.

Return Value

The collection of default colors or null if the normal default colors should be used.
Requirements

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