UtilColorWpfBrushToWinFormsBrush Method

Converts a WPF brush (Brush) to WinForms brush (Brush).

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Brush WpfBrushToWinFormsBrush(
	Brush brush
)

Parameters

brush  Brush
The WPF brush.

Return Value

Brush
The resulting WinForms brush.

See Also