Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void Invalidate(
    Rectangle rect
)

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