Bind a UI control to this DOCollection as a Data Source
Empty line will provide a message as the first item in the bound list -
validation code should handle a value of -1 the the combo is on this element.
| C# | Visual Basic | Visual C++ |
public void BindDataSource( Enum valuePropertyName, ListControl boundControl, string emptyLine )
Public Sub BindDataSource ( _ valuePropertyName As Enum, _ boundControl As ListControl, _ emptyLine As String _ )
public: void BindDataSource( Enum^ valuePropertyName, ListControl^ boundControl, String^ emptyLine )
- valuePropertyName (Enum)
- Column reference (using the columns enum from the corresponding DataObject) of the Value on the control.
- boundControl (ListControl)
- Control to bind to
- emptyLine (String)
- The message to include on the first line
The message on the first line is a -1 value.