ToggleSwitch.OnToggled ToggleSwitch.OnToggled ToggleSwitch.OnToggled ToggleSwitch.OnToggled Method

Definition

Invoked before the Toggled event is raised.

protected : virtual void OnToggled()
virtual void OnToggled() const;
protected virtual void OnToggled()
Protected Overridable Sub OnToggled()

Remarks

Override this method to provide a class-based behavior that should be invoked each time that the Toggled event is raised. The event data does not contain the state information, but you can determine the state from IsOn, which represents the new value.