New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public class BindingCreatedEventArgs : EventArgs

Inheritance: objectEventArgsBindingCreatedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for a constructed editor binding.

C#
public BindingCreatedEventArgs(Control control, string propertyName, object propertyDataSource, string dataMember, Binding binding)
Parameters:controlControl

The editor control for which the binding was created.

propertyNamestring

The editor property targeted by the binding.

propertyDataSourceobject

The object used as the binding source.

dataMemberstring

The member or member path on the source used by the binding.

bindingBinding

The constructed binding.

Properties

Gets the constructed binding, which has not yet been added to the editor's DataBindings collection.

C#
public Binding Binding { get; }

Gets the editor control to which the binding will be added.

C#
public Control Control { get; }

Gets the member or member path on the binding source.

C#
public string DataMember { get; }

Gets the binding source object. The controls pass the manager's list for a CurrencyManager, or its current item otherwise.

C#
public object PropertyDataSource { get; }

Gets the editor property targeted by the binding.

C#
public string PropertyName { get; }