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

TdxSpreadSheetTableView.CanDeleteComments(TRect) Method

Identifies if it is possible to delete comments in the specified cell range.

#Declaration

Delphi
function CanDeleteComments(const AArea: TRect): Boolean; overload; virtual;

#Parameters

Name Type Description
AArea TRect

A rectangle that corresponds to the target cell range.

#Returns

Type Description
Boolean

True if users can delete at least one comment in the specified area; otherwise, False.

#Remarks

This function returns True if at least one comment container can be deleted within an area specified as the AArea parameter; otherwise – False. Likewise, the overloaded variant identifies whether it is possible to delete a single comment within the area bounded by the Selection.Area rectangle.

See Also