Defines a binding between the select mutex control in the line and a control
Namespace: NDXVUMeterNETAssembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)
Syntax
C# |
---|
public void SetSelectedBinding( Control Control, string PropertyName, string EventName ) |
Visual Basic |
---|
Public Sub SetSelectedBinding ( _ Control As Control, _ PropertyName As String, _ EventName As String _ ) |
Visual C++ |
---|
public: void SetSelectedBinding( Control^ Control, String^ PropertyName, String^ EventName ) |
Parameters
- Control
- Type: System.Windows.Forms..::..Control
The control to be used to represent and/or change the selection state as a recording source for this line. This is usually a CheckBox
- PropertyName
- Type: System..::..String
The name of the property that will be used to set and display the selection state. When using a CheckBox this should be set to Checked
- EventName
- Type: System..::..String
The name of the event that the line will listent for to detect changes in the control. When using a CheckBox this should be set to CheckStateChanged
Remarks
It is very important to call RemoveBindings when the binding are not going to be used or the control is going to be disposed.