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

TdxCustomSpreadSheet.GetSheetByName(string) Method

Returns the specified generic worksheet object.

#Declaration

Delphi
function GetSheetByName(const ACaption: string): TdxSpreadSheetCustomView;

#Parameters

Name Type
ACaption string

#Returns

Type
TdxSpreadSheetCustomView

#Remarks

Call this procedure to obtain the generic worksheet object that corresponds to a sheet whose name is passed as the ACaption parameter. To access the type-specific properties and methods of the returned worksheet object, you need to cast it to the corresponding descendant type (TdxSpreadSheetTableView, for instance).

See Also