Compartilhar via


GridColor.FromString Method

Creates a color from the specified string.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Shared Function FromString ( _
    colorString As String _
) As GridColor
'Usage
Dim colorString As String
Dim returnValue As GridColor

returnValue = GridColor.FromString(colorString)
public static GridColor FromString(
    string colorString
)

Parameters

  • colorString
    Type: System.String

    A string that represents the name of a known color or that uses the format #rrggbb.

Return Value

Type: Microsoft.PerformancePoint.Scorecards.GridColor
The color specified by the string.

See Also

Reference

GridColor Class

GridColor Members

Microsoft.PerformancePoint.Scorecards Namespace