ListViewDesigner.OnComponentChanged(Object, ComponentChangedEventArgs) 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.
Occurs when the associated control changes.
public:
override void OnComponentChanged(System::Object ^ sender, System::ComponentModel::Design::ComponentChangedEventArgs ^ ce);
public override void OnComponentChanged (object sender, System.ComponentModel.Design.ComponentChangedEventArgs ce);
override this.OnComponentChanged : obj * System.ComponentModel.Design.ComponentChangedEventArgs -> unit
Public Overrides Sub OnComponentChanged (sender As Object, ce As ComponentChangedEventArgs)
Parameters
- sender
- Object
The source of the event.
The event data.
Remarks
The OnComponentChanged method overrides its base implementation to ignore change notifications while persisting a template's content in the page markup.
Notes to Inheritors
When you override OnComponentChanged(Object, ComponentChangedEventArgs) in a derived class, make sure that you call the base class' OnComponentChanged(Object, ComponentChangedEventArgs) method so that registered delegates receive the event.