Provides a newly constructed binding after the binding-creation event and before it is attached to the editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class BindingCreatedEventArgs : EventArgs
Inheritance: objectEventArgsBindingCreatedEventArgs
Inherited Members
Constructors
Initializes event data for a constructed editor binding.
public BindingCreatedEventArgs(Control control, string propertyName, object propertyDataSource, string dataMember, Binding binding)
The editor control for which the binding was created.
propertyNamestringThe editor property targeted by the binding.
propertyDataSourceobjectThe object used as the binding source.
dataMemberstringThe member or member path on the source used by the binding.
bindingBindingThe constructed binding.
Properties
Gets the constructed binding, which has not yet been added to the editor's DataBindings collection.
public Binding Binding { get; }
Gets the editor control to which the binding will be added.
public Control Control { get; }
Gets the member or member path on the binding source.
public string DataMember { get; }
Gets the binding source object. The controls pass the manager's list for a CurrencyManager, or its current item otherwise.
public object PropertyDataSource { get; }
Gets the editor property targeted by the binding.
public string PropertyName { get; }