RibbonBase.PerformDynamicLayout Method
Calls the Microsoft.Office.Core.IRibbonUI.InvalidateControl method of the parent control if the RibbonComponent of the RibbonBase has a dynamic parent, such as a dynamic menu, and layout is not suspended.
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 PerformDynamicLayout
public void PerformDynamicLayout()
Remarks
If the parent is not dynamic, this method calls the Microsoft.Office.Core.IRibbonUI.InvalidateControl method of the current control if the layout is not suspended.
.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.