Provides an easy way to bind Windows Forms Controls with controls in a line.

Namespace: NMixerProNET
Assembly: MixerProNET (in MixerProNET.dll) Version: 2.1.0.27196 (2.1.0)

Syntax

C#
public class CBinding
Visual Basic
Public Class CBinding
Visual C++
public ref class CBinding

Remarks

Here's a sample code to bind a TrackBar control with a CControlVolume object:

Legacy Version (pre-Vista)

CopyVB.NET
myControl.Binding.Define(myTrackBar, "Value", "ValueChanged")

Core Audio Version (post-Vista)

The only difference with the legacy version is that when using the CCoreAudio class, you will need to bind objects exposed by the CControl class, such as CControlVolume, through either the ControlVolume or the ControlMute properties.

CopyVB.NET
myControl.ControlVolume.Binding.Define(myTrackBar, "Value", "ValueChanged")

Inheritance Hierarchy

System..::..Object
  NMixerProNET..::..CBinding

See Also