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