Skip to main content

TcxCustomDateNavigator.CalcSize(Integer,Integer) Method

Calculates the rectangle of the Date Navigator control.

Declaration

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