Share via


WebUICommandBar.SizeChanged Event

Definition

Deprecated. Occurs when the size of the command bar changes.

public:
 virtual event SizeChangedEventHandler ^ SizeChanged;
// Register
event_token SizeChanged(SizeChangedEventHandler const& handler) const;

// Revoke with event_token
void SizeChanged(event_token const* cookie) const;

// Revoke with event_revoker
WebUICommandBar::SizeChanged_revoker SizeChanged(auto_revoke_t, SizeChangedEventHandler const& handler) const;
public event SizeChangedEventHandler SizeChanged;
function onSizeChanged(eventArgs) { /* Your code */ }
webUICommandBar.addEventListener("sizechanged", onSizeChanged);
webUICommandBar.removeEventListener("sizechanged", onSizeChanged);
- or -
webUICommandBar.onsizechanged = onSizeChanged;
Public Custom Event SizeChanged As SizeChangedEventHandler 

Event Type

Remarks

Use of the Command Bar (also known as "App Bar") UX element is deprecated for UWP apps using JavaScript and no longer supported. If your app still requires it, this functionality is available from the WinJS 4 library.

Applies to