แก้ไข

แชร์ผ่าน


Binding.DataSourceUpdateMode Property

Definition

Gets or sets a value that indicates when changes to the bound control property are propagated to the data source.

public:
 property System::Windows::Forms::DataSourceUpdateMode DataSourceUpdateMode { System::Windows::Forms::DataSourceUpdateMode get(); void set(System::Windows::Forms::DataSourceUpdateMode value); };
public System.Windows.Forms.DataSourceUpdateMode DataSourceUpdateMode { get; set; }
member this.DataSourceUpdateMode : System.Windows.Forms.DataSourceUpdateMode with get, set
Public Property DataSourceUpdateMode As DataSourceUpdateMode

Property Value

A value that indicates when changes are propagated. The default is OnValidation.

Remarks

Note that even if this property is set to Never, the binding will update at least one time, when it is first established.

Applies to