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


public override void Invalidate(
    Rectangle rect


Name Type Description
rect Rectangle

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


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

See Also