LoginViewDesigner.OnComponentChanged Method

Definition

Called when there is a change to the control that is associated with this designer.

public:
 override void OnComponentChanged(System::Object ^ sender, System::ComponentModel::Design::ComponentChangedEventArgs ^ e);
public override void OnComponentChanged (object sender, System.ComponentModel.Design.ComponentChangedEventArgs e);
override this.OnComponentChanged : obj * System.ComponentModel.Design.ComponentChangedEventArgs -> unit
Public Overrides Sub OnComponentChanged (sender As Object, e As ComponentChangedEventArgs)

Parameters

sender
Object

The source of the event.

e
ComponentChangedEventArgs

A ComponentChangedEventArgs that contains the event data.

Remarks

The OnComponentChanged method is called when the ComponentChanged event of the associated LoginView control executes. Typically, this is in response to a property change on the control (for example, a Properties grid change). If the LoginView control template is changed, the Properties grid is refreshed.

The OnComponentChanged verifies that the current template index is valid, and then calls the OnComponentChanged base method.

Applies to

See also