Bewerken

Delen via


DetailsViewDesigner.OnSchemaRefreshed Method

Definition

Called when the schema of the data source for the associated control changes.

protected:
 override void OnSchemaRefreshed();
protected override void OnSchemaRefreshed ();
override this.OnSchemaRefreshed : unit -> unit
Protected Overrides Sub OnSchemaRefreshed ()

Remarks

Unless the designer is in template editing mode or a field is being added or edited, the OnSchemaRefreshed method calls the InvokeTransactedChange method, which in turn calls the OnComponentChanged method to update the DetailsView control to reflect the data source change.

Applies to

See also