RibbonComponent.PerformDynamicLayout 方法

如果 RibbonComponent 有一个动态父级(如动态菜单)且布局未挂起,则调用父控件的 Microsoft.Office.Core.IRibbonUI.InvalidateControl 方法。

命名空间:  Microsoft.Office.Tools.Ribbon
程序集:   Microsoft.Office.Tools.Common(在 Microsoft.Office.Tools.Common.dll 中)
  Microsoft.Office.Tools.Common.v4.0.Utilities(在 Microsoft.Office.Tools.Common.v4.0.Utilities.dll 中)

语法

声明
Sub PerformDynamicLayout
void PerformDynamicLayout()

备注

如果父级不是动态的且布局未挂起,则此方法调用当前对象的 Microsoft.Office.Core.IRibbonUI.InvalidateControl 方法。

.NET Framework 安全性

请参见

参考

RibbonComponent 接口

Microsoft.Office.Tools.Ribbon 命名空间