Επεξεργασία

Κοινή χρήση μέσω


ListViewDesigner.OnComponentChanged(Object, ComponentChangedEventArgs) Method

Definition

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.

ce
ComponentChangedEventArgs

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.

Applies to