共用方式為


ActionsPane.Invalidate Method

Definition

Invalidates all or part of the actions pane and causes a paint message to be sent to the actions pane.

Overloads

Invalidate()

Invalidates the entire surface of the actions pane and causes the actions pane to be redrawn.

Invalidate(Boolean)

Invalidates the entire surface of the actions pane and causes a paint message to be sent to the actions pane. Optionally, invalidates the child controls assigned to the actions pane.

Invalidate(Rectangle)

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.

Invalidate(Region)

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.

Invalidate(Rectangle, 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.

Invalidate(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.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.Invalidate method. For more information about using this method, see System.Windows.Forms.Control.Invalidate.

Invalidate()

Invalidates the entire surface of the actions pane and causes the actions pane to be redrawn.

public:
 void Invalidate();
public void Invalidate ();
abstract member Invalidate : unit -> unit
Public Sub Invalidate ()

Remarks

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

Applies to

Invalidate(Boolean)

Invalidates the entire surface of the actions pane and causes a paint message to be sent to the actions pane. Optionally, invalidates the child controls assigned to the actions pane.

public:
 void Invalidate(bool invalidateChildren);
public void Invalidate (bool invalidateChildren);
abstract member Invalidate : bool -> unit
Public Sub Invalidate (invalidateChildren As Boolean)

Parameters

invalidateChildren
Boolean

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

Remarks

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

Applies to

Invalidate(Rectangle)

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.

public:
 void Invalidate(System::Drawing::Rectangle rc);
public void Invalidate (System.Drawing.Rectangle rc);
abstract member Invalidate : System.Drawing.Rectangle -> unit
Public Sub Invalidate (rc As Rectangle)

Parameters

rc
Rectangle

A Rectangle that represents the region to invalidate.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.Invalidate(Rectangle) method. For more information about using this method, see System.Windows.Forms.Control.Invalidate(Rectangle).

Applies to

Invalidate(Region)

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.

public:
 void Invalidate(System::Drawing::Region ^ region);
public void Invalidate (System.Drawing.Region region);
abstract member Invalidate : System.Drawing.Region -> unit
Public Sub Invalidate (region As Region)

Parameters

region
Region

The Region to invalidate.

Remarks

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

Applies to

Invalidate(Rectangle, 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.

public:
 void Invalidate(System::Drawing::Rectangle rc, bool invalidateChildren);
public void Invalidate (System.Drawing.Rectangle rc, bool invalidateChildren);
abstract member Invalidate : System.Drawing.Rectangle * bool -> unit
Public Sub Invalidate (rc As Rectangle, invalidateChildren As Boolean)

Parameters

rc
Rectangle

A Rectangle that represents the region to invalidate.

invalidateChildren
Boolean

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

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.Invalidate method. For more information about using this method, see System.Windows.Forms.Control.Invalidate.

Applies to

Invalidate(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.

public:
 void Invalidate(System::Drawing::Region ^ region, bool invalidateChildren);
public void Invalidate (System.Drawing.Region region, bool invalidateChildren);
abstract member Invalidate : System.Drawing.Region * bool -> unit
Public Sub Invalidate (region As Region, invalidateChildren As Boolean)

Parameters

region
Region

The Region to invalidate.

invalidateChildren
Boolean

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

Remarks

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

Applies to