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

GraphicsCache.FillRectangle Method

Name Parameters Description
FillRectangle(AppearanceObject, Rectangle) appearanceObject, bounds Fills the interior of a rectangle specified by a Rectangle structure.
FillRectangle(Brush, Rectangle) brush, rect Fills the interior of a rectangle specified by a Rectangle structure.
FillRectangle(Brush, RectangleF) brush, rect Fills the interior of a rectangle specified by a RectangleF structure.
FillRectangle(Brush, Int32, Int32, Int32, Int32) brush, x, y, width, height Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
FillRectangle(Brush, Single, Single, Single, Single) brush, x, y, width, height Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
FillRectangle(Color, Rectangle) color, rect Fills the specified rectangular area with the specified color.
FillRectangle(Color, RectangleF) color, rect Fills the interior of a rectangle specified by a RectangleF structure.