Edit

Share via


ToggleButton.OnToggle Method

Definition

Called by the OnClick() method to implement toggle behavior.

protected public:
 virtual void OnToggle();
protected internal virtual void OnToggle ();
abstract member OnToggle : unit -> unit
override this.OnToggle : unit -> unit
Protected Friend Overridable Sub OnToggle ()

Remarks

This method toggles the IsChecked property.

Applies to