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

TcxRegion Members

A region.

#Constructors

Name Description
Create(TcxRegionHandle) Initializes a new instance of the TcxRegion class with specified settings.
Create(Integer,Integer,Integer,Integer) Creates a new region.
Create(TRect) Initializes a new instance of the TcxRegion class with specified settings.
CreateFromWindow(HWND,Integer) Creates a region from a window.
CreateRoundCorners(Integer,Integer,Integer,Integer,Integer,Integer) Initializes a new instance of the TcxRegion class with specified settings.
CreateRoundCorners(TRect,Integer,Integer) Creates a rectangular region with rounded corners.

#Properties

Name Description
BoundsRect Returns the region’s bounding rectangle.
Handle Specifies a handle to the region.
IsEmpty Identifies if the region is empty.

#Methods
Show Inherited Hide Inherited

Name Description
Clone Creates a copy of the region.
Combine(TcxRegion,TcxRegionOperation,Boolean)
Combine(TcxRegionHandle,TcxRegionOperation)
Combine(TRect,TcxRegionOperation) Combines two regions.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
IsEqual(TcxRegion)
IsEqual(TcxRegionHandle) Identifies if two regions are equal in shape and size.
Offset(Integer,Integer) Moves the region horizontally and/or vertically.
Offset(TPoint)
PtInRegion(Integer,Integer) Identifies if the specified point is within the region.
PtInRegion(TPoint)
RectInRegion(Integer,Integer,Integer,Integer) Identifies if the specified rectangle is within the region.
RectInRegion(TRect)
ToString Inherited from TObject.
See Also