StandaloneGallery.Invalidate(Rectangle) Method

Invalidates the specified region (adds it to the control's update region, which will be repainted during the next paint operation), and causes a paint message to be sent to the control.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public override void Invalidate(
    Rectangle rect
)
Public Overrides Sub Invalidate(
    rect As Rectangle
)

Parameters

Name Type Description
rect Rectangle

A System.Drawing.Rectangle structure representing the region to invalidate.

Remarks

To force immediate repainting of invalidated regions (before other processing takes place), call the control's Update method after invalidation.

See Also