TextBox : Control

Implemented for: all platforms supported by Uno Platform

This document lists all properties, methods, and events of TextBox that are currently implemented by the Uno Platform. See the WinUI and UWP documentation for detailed usage guidelines which all automatically apply to Uno Platform.

Implemented properties

Property Supported on
TextWrapping TextWrapping all platforms supported by Uno Platform
TextAlignment TextAlignment all platforms supported by Uno Platform
string Text all platforms supported by Uno Platform
int SelectionStart all platforms supported by Uno Platform
int SelectionLength all platforms supported by Uno Platform
string SelectedText all platforms supported by Uno Platform
int MaxLength all platforms supported by Uno Platform
bool IsSpellCheckEnabled all platforms supported by Uno Platform
bool IsReadOnly all platforms supported by Uno Platform
InputScope InputScope all platforms supported by Uno Platform
bool AcceptsReturn all platforms supported by Uno Platform
string PlaceholderText all platforms supported by Uno Platform
bool PreventKeyboardDisplayOnProgrammaticFocus Android
SolidColorBrush SelectionHighlightColor all platforms supported by Uno Platform
DataTemplate HeaderTemplate all platforms supported by Uno Platform
object Header all platforms supported by Uno Platform
Brush PlaceholderForeground all platforms supported by Uno Platform
CharacterCasing CharacterCasing Android
object Description all platforms supported by Uno Platform
DependencyProperty TextWrappingProperty all platforms supported by Uno Platform
DependencyProperty TextProperty all platforms supported by Uno Platform
DependencyProperty TextAlignmentProperty all platforms supported by Uno Platform
DependencyProperty MaxLengthProperty all platforms supported by Uno Platform
DependencyProperty IsSpellCheckEnabledProperty all platforms supported by Uno Platform
DependencyProperty IsReadOnlyProperty all platforms supported by Uno Platform
DependencyProperty InputScopeProperty all platforms supported by Uno Platform
DependencyProperty AcceptsReturnProperty all platforms supported by Uno Platform
DependencyProperty HeaderTemplateProperty all platforms supported by Uno Platform
DependencyProperty HeaderProperty all platforms supported by Uno Platform
DependencyProperty SelectionHighlightColorProperty all platforms supported by Uno Platform
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty Android
DependencyProperty PlaceholderTextProperty all platforms supported by Uno Platform
DependencyProperty PlaceholderForegroundProperty all platforms supported by Uno Platform
DependencyProperty CharacterCasingProperty Android
DependencyProperty DescriptionProperty all platforms supported by Uno Platform

Implemented methods

Method Supported on
void Select(int, int) all platforms supported by Uno Platform
void SelectAll() all platforms supported by Uno Platform

Implemented events

Event Supported on
RoutedEventHandler SelectionChanged all platforms supported by Uno Platform
TextChangedEventHandler TextChanged all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging all platforms supported by Uno Platform

Below are all properties, methods, and events of TextBox that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
bool IsTextPredictionEnabled all platforms supported by Uno Platform
bool IsColorFontEnabled all platforms supported by Uno Platform
bool PreventKeyboardDisplayOnProgrammaticFocus iOS, MacOS, WASM, Skia
CandidateWindowAlignment DesiredCandidateWindowAlignment all platforms supported by Uno Platform
TextReadingOrder TextReadingOrder all platforms supported by Uno Platform
SolidColorBrush SelectionHighlightColorWhenNotFocused all platforms supported by Uno Platform
TextAlignment HorizontalTextAlignment all platforms supported by Uno Platform
CharacterCasing CharacterCasing iOS, MacOS, WASM, Skia
bool IsHandwritingViewEnabled all platforms supported by Uno Platform
HandwritingView HandwritingView all platforms supported by Uno Platform
FlyoutBase SelectionFlyout all platforms supported by Uno Platform
bool CanPasteClipboardContent all platforms supported by Uno Platform
bool CanRedo all platforms supported by Uno Platform
bool CanUndo all platforms supported by Uno Platform
FlyoutBase ProofingMenuFlyout all platforms supported by Uno Platform
DependencyProperty IsTextPredictionEnabledProperty all platforms supported by Uno Platform
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty iOS, MacOS, WASM, Skia
DependencyProperty IsColorFontEnabledProperty all platforms supported by Uno Platform
DependencyProperty DesiredCandidateWindowAlignmentProperty all platforms supported by Uno Platform
DependencyProperty TextReadingOrderProperty all platforms supported by Uno Platform
DependencyProperty SelectionHighlightColorWhenNotFocusedProperty all platforms supported by Uno Platform
DependencyProperty HorizontalTextAlignmentProperty all platforms supported by Uno Platform
DependencyProperty CharacterCasingProperty iOS, MacOS, WASM, Skia
DependencyProperty IsHandwritingViewEnabledProperty all platforms supported by Uno Platform
DependencyProperty HandwritingViewProperty all platforms supported by Uno Platform
DependencyProperty SelectionFlyoutProperty all platforms supported by Uno Platform
DependencyProperty ProofingMenuFlyoutProperty all platforms supported by Uno Platform
DependencyProperty CanUndoProperty all platforms supported by Uno Platform
DependencyProperty CanRedoProperty all platforms supported by Uno Platform
DependencyProperty CanPasteClipboardContentProperty all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
Rect GetRectFromCharacterIndex(int, bool) all platforms supported by Uno Platform
IAsyncOperation<IReadOnlyList> GetLinguisticAlternativesAsync() all platforms supported by Uno Platform
void Undo() all platforms supported by Uno Platform
void Redo() all platforms supported by Uno Platform
void PasteFromClipboard() all platforms supported by Uno Platform
void CopySelectionToClipboard() all platforms supported by Uno Platform
void CutSelectionToClipboard() all platforms supported by Uno Platform
void ClearUndoRedoHistory() all platforms supported by Uno Platform

Not implemented events

Event Not supported on
ContextMenuOpeningEventHandler ContextMenuOpening all platforms supported by Uno Platform
TextControlPasteEventHandler Paste all platforms supported by Uno Platform
TypedEventHandler<TextBox, CandidateWindowBoundsChangedEventArgs> CandidateWindowBoundsChanged all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextCompositionChangedEventArgs> TextCompositionChanged all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextCompositionEndedEventArgs> TextCompositionEnded all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextCompositionStartedEventArgs> TextCompositionStarted all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextControlCopyingToClipboardEventArgs> CopyingToClipboard all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextControlCuttingToClipboardEventArgs> CuttingToClipboard all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging all platforms supported by Uno Platform

Last updated Wednesday, November 9, 2022 7:41 PM.