Share via


ThemeColor.GetScreenNameForColor method

Gets the user-friendly name for the specified color.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetScreenNameForColor ( _
    color As Color _
) As String
'Usage
Dim color As Color
Dim returnValue As String

returnValue = ThemeColor.GetScreenNameForColor(color)
public static string GetScreenNameForColor(
    Color color
)

Parameters

Return value

Type: System.String
The user-friendly name for the specified color.

Remarks

This method returns a base color name if it does not find a lighter or darker match.

See also

Reference

ThemeColor class

ThemeColor members

Microsoft.SharePoint.Utilities namespace