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

TcxCustomDateNavigator.CalcSize(Integer,Integer) Method

Calculates the rectangle of the Date Navigator control.

#Declaration

Delphi
function CalcSize(AColCount: Integer; ARowCount: Integer): TRect;

#Parameters

Name Type
AColCount Integer
ARowCount Integer

#Returns

Type
TRect

#Remarks

The size of the rectangle depends on the number of months that appear in the Date Navigator control. The rectangle calculated has no gap between month(s) and its boundaries.

Use the CalcSize method to calculate the rectangle of the Date Navigator control.

AColCount specifies the number of months that will appear in a row.

ARowCount specifies the number of months that will appear in a column in the Date Navigator control.

See Also