Toolbar.forceLayout method
Forces the Toolbar to update its layout and redraws the control.
Syntax
toolbar.forceLayout();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Remarks
Use this method when you want changes to the commands in the Toolbar or changes to the size of the Toolbar to be displayed immediately. It is not necessary to call this method when adding new commands to the Toolbar.
Requirements
Minimum WinJS version |
WinJS 4.0 |
Namespace |
WinJS.UI |