編輯

共用方式為


CheckBox.RaisePostDataChangedEvent Method

Definition

Invokes the OnCheckedChanged(EventArgs) method when the posted data for the CheckBox control has changed.

protected:
 virtual void RaisePostDataChangedEvent();
protected virtual void RaisePostDataChangedEvent ();
abstract member RaisePostDataChangedEvent : unit -> unit
override this.RaisePostDataChangedEvent : unit -> unit
Protected Overridable Sub RaisePostDataChangedEvent ()

Remarks

The RaisePostDataChangedEvent method is used primarily by control developers.

The RaisePostDataChangedEvent method invokes the OnCheckedChanged method if the posted data for the CheckBox control has changed. If the CausesValidation property is true, the controls that are set in the ValidationGroup property are validated.

Applies to

See also