Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the list of shades to be used with the specified default color.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.