ThemeColor.GetShadesForColor method
Retrieves the list of shades to be used with the specified default color.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetShadesForColor ( _
color As Color _
) As ReadOnlyCollection(Of Color)
'Usage
Dim color As Color
Dim returnValue As ReadOnlyCollection(Of Color)
returnValue = ThemeColor.GetShadesForColor(color)
public static ReadOnlyCollection<Color> GetShadesForColor(
Color color
)
Parameters
color
Type: System.Drawing.ColorThe color from which to generate the list of shades.
Return value
Type: System.Collections.ObjectModel.ReadOnlyCollection<Color>
Returns a read-only collection of System.Drawing.Instance types that represent the list of shades. This list includes the default color.