Back to Devexpress

TdxRichEditControlBase.IsSelectionInTable Method

vcl-dxrichedit-dot-control-dot-core-dot-tdxricheditcontrolbase-3421b197.md

latest1.1 KB
Original Source

TdxRichEditControlBase.IsSelectionInTable Method

Returns a value indicating whether the current selection is contained within a single table.

Declaration

delphi
function IsSelectionInTable: Boolean;

Returns

Type
Boolean

Remarks

This function returns True if there is a selected area within boundaries of one of the document’s tables. The IsSelectionInTable function returns False if one of the following conditions is met:

  • There are no tables within the current document;

  • There is no selected document content (as a result of calling the DeselectAll procedure, for instance);

  • The selected area expands beyond a single table’s boundaries.

See Also

TdxRichEditControlBase

TdxRichEditControlBase Members

dxRichEdit.Control.Core Unit