In This Topic
Method unified between WinForms and WPF that converts a
System.Drawing.Color or
System.Windows.Media.Brush to a
System.Drawing.Color.
Syntax
'Declaration
Public Shared Function ConvertColor( _
ByVal As Color _
) As Color
public static Color ConvertColor(
Color
)
Parameters
- color
- The color (WinForms) or brush (WPF)
Return Value
See Also