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

TdxGanttControlCalendars.GetCalendarByName(string) Method

Returns a calendar with the specified name.

#Declaration

Delphi
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