Volume Control
Application-specific hotkeys for Windows
VolumeControl.TypeExtensions.WinFormsInterop Class Reference

Extension methods for WinForms-WPF interoperation. More...

Collaboration diagram for VolumeControl.TypeExtensions.WinFormsInterop:

Static Public Member Functions

static System.Drawing.Color ToFormsColor (this System.Windows.Media.Color color)
 Converts the System.Windows.Media.Color to the equivalent System.Drawing.Color. More...
 
static System.Windows.Media.Color ToWpfColor (this System.Drawing.Color color)
 Converts the System.Drawing.Color to the equivalent System.Windows.Media.Color. More...
 

Detailed Description

Extension methods for WinForms-WPF interoperation.

Member Function Documentation

◆ ToFormsColor()

static System.Drawing.Color VolumeControl.TypeExtensions.WinFormsInterop.ToFormsColor ( this System.Windows.Media.Color  color)
static

Converts the System.Windows.Media.Color to the equivalent System.Drawing.Color.

◆ ToWpfColor()

static System.Windows.Media.Color VolumeControl.TypeExtensions.WinFormsInterop.ToWpfColor ( this System.Drawing.Color  color)
static

Converts the System.Drawing.Color to the equivalent System.Windows.Media.Color.


The documentation for this class was generated from the following file: