Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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