Skip to main content

TdxGanttControlCalendars.GetCalendarByName(string) Method

Returns a calendar with the specified name.

Declaration

function GetCalendarByName(const Value: string): TdxGanttControlCalendar;

Parameters

Name Type
Value string

Returns

Type
TdxGanttControlCalendar

Remarks

Call this function to obtain a calendar whose name is passed as the Value parameter. The GetCalendarByName function returns nil if the calendar with the specified name does not exist. To access in a calendar by its position in the collection, use the Items property.

See Also