ToggleSwitch.OnHeaderChanged(Object, Object) ToggleSwitch.OnHeaderChanged(Object, Object) ToggleSwitch.OnHeaderChanged(Object, Object) ToggleSwitch.OnHeaderChanged(Object, Object) Method

Definition

Invoked when the content for Header changes.

protected : virtual void OnHeaderChanged(Platform::Object oldContent, Platform::Object newContent)
virtual void OnHeaderChanged(winrt::Windows::Foundation::IInspectable oldContent, winrt::Windows::Foundation::IInspectable newContent) const;
protected virtual void OnHeaderChanged(Object oldContent, Object newContent)
Protected Overridable Sub OnHeaderChanged(oldContent As Object, newContent As Object)

Parameters

oldContent
Object Object

The string or object content of the old content.

newContent
Object Object

The string or object content of the new content.

Remarks

Override this method in order to add steps to behavior of a custom derived class, or to change the oldContent or newContent values before passing them on to base.