System.Windows.Forms.Binding.PropertyName Property

Gets or sets the name of the control's data-bound property.

Syntax

[System.ComponentModel.DefaultValue("")]
public string PropertyName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Binding.PropertyName to specify the control property that you want to bind to a list in a data source. Most commonly, you bind a display property such as the Control.Text property of a System.Windows.Forms.TextBox control. However, because you can bind any property of a control, you can programmatically create controls at run time using data from a database.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0