ToDisplayName Method
Determines an approximate display name for the given color.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public static string ToDisplayName(
Color color
)
Public Shared Function ToDisplayName (
color As Color
) As String
static member ToDisplayName :
color : Color -> string
Parameters
- Color
- The color to get the display name for.
Return Value
String
The approximate color display name.