Back to Devexpress

TdxGanttControlCalendars.GetCalendarByName(string) Method

vcl-dxganttcontrolcalendars-dot-tdxganttcontrolcalendars-dot-getcalendarbyname-x28-system-dot-string-x29.md

latest1.2 KB
Original Source

TdxGanttControlCalendars.GetCalendarByName(string) Method

Returns a calendar with the specified name.

Declaration

delphi
function GetCalendarByName(const Value: string): TdxGanttControlCalendar;

Parameters

NameType
Valuestring

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

GetCalendarByUID

TdxGanttControlCalendars Class

TdxGanttControlCalendars Members

dxGanttControlCalendars Unit