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
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.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