共用方式為


ActionsPane.Invalidate Method (Region, Boolean)

Invalidates the specified region of the actions pane (adds it to the actions pane's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the actions pane. Optionally, invalidates the child controls assigned to the actions pane.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Sub Invalidate ( _
    region As Region, _
    invalidateChildren As Boolean _
)
void Invalidate(
    Region region,
    bool invalidateChildren
)

Parameters

  • invalidateChildren
    Type: System.Boolean

    true to invalidate the actions pane's child controls; otherwise, false.

Remarks

This method provides the same functionality as the Control.Invalidate(Region, Boolean) method. For more information about using this method, see Control.Invalidate(Region, Boolean).

.NET Framework Security

See Also

Reference

ActionsPane Interface

Invalidate Overload

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview