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

Create(TPersistent,Integer,Integer) Constructor

Creates a new TcxSize class instance for storing dimensions.

#Declaration

Delphi
constructor Create(AOwner: TPersistent; ADefaultWidth: Integer = 0; ADefaultHeight: Integer = 0); reintroduce; overload;

#Parameters

Name Type
AOwner TPersistent
ADefaultWidth Integer
ADefaultHeight Integer

#Remarks

This constructor supports the internal infrastructure and is not intended to be used directly from your code.

The Create constructor is called internally by persistent option sets that implement visual object dimension settings. This constructor calls the inherited constructor and initializes the Width and Height properties (and thus, the Size.Width and Size.Height properties) to the values passed as the optional ADefaultWidth and ADefaultHeight parameters, respectively.

See Also