편집

다음을 통해 공유


ControlBindingsCollection.DefaultDataSourceUpdateMode Property

Definition

Gets or sets the default DataSourceUpdateMode for a Binding in the collection.

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

Property Value

One of the DataSourceUpdateMode values.

Remarks

The DefaultDataSourceUpdateMode property is used in cases where a Binding without a DataSourceUpdateMode specified is added to the collection. The default value for Windows Forms controls is OnValidation

Applies to