Provides an implementation of IInlineAssistantInteractionProvider for a RadRichTextBox.
Definition
Namespace:Telerik.Windows.Controls.ConversationalUI
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class InlineAIAssistantRadRichTextBoxProvider : IInlineAssistantInteractionProvider
Inheritance: objectInlineAIAssistantRadRichTextBoxProvider
Implements:
Constructors
Initializes a new instance of the InlineAIAssistantRadRichTextBoxProvider class.
public InlineAIAssistantRadRichTextBoxProvider(RadRichTextBox radRichTextBox)
Properties
Gets the full plain text of the RadRichTextBox document.
public virtual string FullText { get; }
Implements:
Gets the currently selected plain text in the RadRichTextBox.
public virtual string SelectedText { get; }
Implements:
TargetElement
FrameworkElement
Gets the target FrameworkElement that the inline assistant interacts with.
public FrameworkElement TargetElement { get; }
Implements:
Methods
Determines whether text can be inserted at the current caret position in the RadRichTextBox.
Determines whether the selected text in the RadRichTextBox can be replaced.
Gets the screen position below the caret or the end of the selection in the RadRichTextBox.
public virtual Point? GetPosition()
Point?
The screen position, or null if the caret or selection is outside the visible viewport of the RadRichTextBox.
Implements:
Inserts the specified text at the current caret position in the RadRichTextBox.
Replaces the currently selected text in the RadRichTextBox.
public virtual void ReplaceSelectedText(string text)
The text to replace with.
Implements: