Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Prevents the Microsoft Office application from refreshing the state of controls on the Ribbon.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public Sub SuspendLayout
public void SuspendLayout()
Remarks
Calling SuspendLayout may result in a slight performance increase if your application has many controls that are frequently updated.
After you change the state of each control, you can call ResumeLayout to allow the UI to be refreshed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.