Compartilhar via


RibbonComponent.PerformDynamicLayout Method

Calls the Microsoft.Office.Core.IRibbonUI.InvalidateControl method of the parent control if the RibbonComponent has a dynamic parent, such as a dynamic menu, and layout is not suspended.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Syntax

'Declaration
Sub PerformDynamicLayout
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

See Also

Reference

RibbonComponent Interface

Microsoft.Office.Tools.Ribbon Namespace