Click or drag to resize

ColorExtensionsToUIColor Method

Converts the Color instance to Color.

Namespace:  DotNetBrowser.Wpf.Dialogs
Assembly:  DotNetBrowser.Wpf (in DotNetBrowser.Wpf.dll) Version: 2.24.2
Syntax
C#
public static Color ToUIColor(
	this Color color
)

Parameters

color
Type: System.DrawingColor
the color to convert

Return Value

Type: Color
the converted color.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also