Udostępnij za pośrednictwem


RibbonComponent.PerformDynamicLayout Method (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Overridable Sub PerformDynamicLayout
'Usage
Dim instance As RibbonComponent

instance.PerformDynamicLayout()
public virtual void PerformDynamicLayout()
public:
virtual void PerformDynamicLayout()
public function 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 Class

RibbonComponent Members

Microsoft.Office.Tools.Ribbon Namespace