Back to Devexpress

TextRetrievalMode Enum

corelibraries-devexpress-dot-aiintegration-dot-extensions-8c88b6c9.md

latest1.5 KB
Original Source

TextRetrievalMode Enum

Lists values that specify what text the AI-powered extension sends when it creates a request.

Namespace : DevExpress.AIIntegration.Extensions

Assembly : DevExpress.AIIntegration.v25.2.dll

NuGet Package : DevExpress.AIIntegration

Declaration

csharp
public enum TextRetrievalMode
vb
Public Enum TextRetrievalMode

Members

NameDescription
Default

The extension automatically selects text based on the editor type. For text-based editors, it sends the selected text. For the Rich Text Editor, it sends the current paragraph.

| | Selection |

The extension sends only the selected text.

| | AllTextIfNoneSelected |

The extension sends the selected text. If no selection exists, it sends the full text.

| | AllText |

The extension always sends the full text.

|

The following properties accept/return TextRetrievalMode values:

See Also

DevExpress.AIIntegration.Extensions Namespace