DetailsViewDesigner.OnSchemaRefreshed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.