共用方式為


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

See Also

Reference

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace