TemplateControlAddBinding(Control, String, String) Method
This method and its overloads can be used to simplify adding data bindings to controls contained in
the template.
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public Binding AddBinding(
Control control,
string controlProperty,
string dataMember
)
Public Function AddBinding (
control As Control,
controlProperty As String,
dataMember As String
) As Binding
public:
Binding^ AddBinding(
Control^ control,
String^ controlProperty,
String^ dataMember
)
member AddBinding :
control : Control *
controlProperty : string *
dataMember : string -> Binding
- control Control
- The control to which to add the data binding
- controlProperty String
- The name of the control property to bind
- dataMember String
- The property or list to which to bind
BindingThe newly created data binding
This version will clear all existing bindings and add the requested binding