PasswordBox : Control (UWP) TextBox (Android/iOS/tvOS/WASM)

Implemented for: WASM, Skia, Mobile

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

To better understand how PasswordBox works, you can use the Uno Gallery or run your own tests on the Uno Playground.

Implemented properties

Property Supported on
DependencyProperty CanPasteClipboardContentProperty Skia
DependencyProperty DescriptionProperty WASM, Skia, Mobile
DependencyProperty HeaderProperty WASM, Skia, Mobile
DependencyProperty HeaderTemplateProperty WASM, Skia, Mobile
DependencyProperty InputScopeProperty WASM, Skia, Mobile
DependencyProperty IsPasswordRevealButtonEnabledProperty WASM, Skia, Mobile
DependencyProperty MaxLengthProperty WASM, Skia, Mobile
DependencyProperty PasswordProperty WASM, Skia, Mobile
DependencyProperty PasswordRevealModeProperty WASM, Skia, Mobile
DependencyProperty PlaceholderTextProperty WASM, Skia, Mobile
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty Android
DependencyProperty SelectionFlyoutProperty Skia
DependencyProperty SelectionHighlightColorProperty WASM, Skia, Mobile
bool CanPasteClipboardContent Skia
object Description WASM, Skia, Mobile
object Header WASM, Skia, Mobile
DataTemplate HeaderTemplate WASM, Skia, Mobile
InputScope InputScope WASM, Skia, Mobile
bool IsPasswordRevealButtonEnabled WASM, Skia, Mobile
int MaxLength WASM, Skia, Mobile
string Password WASM, Skia, Mobile
PasswordRevealMode PasswordRevealMode WASM, Skia, Mobile
string PlaceholderText WASM, Skia, Mobile
bool PreventKeyboardDisplayOnProgrammaticFocus Android
FlyoutBase SelectionFlyout Skia
SolidColorBrush SelectionHighlightColor WASM, Skia, Mobile

Implemented methods

Method Supported on
void SelectAll() WASM, Skia, Mobile
void PasteFromClipboard() WASM, Skia, Mobile

Implemented events

Event Supported on
ContextMenuOpeningEventHandler ContextMenuOpening Skia
RoutedEventHandler PasswordChanged WASM, Skia, Mobile
TextControlPasteEventHandler Paste WASM, Skia, Mobile

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

Not implemented properties

Property Not supported on
DependencyProperty CanPasteClipboardContentProperty WASM, Xamarin
DependencyProperty DescriptionProperty MacOS
DependencyProperty HeaderProperty MacOS
DependencyProperty HeaderTemplateProperty MacOS
DependencyProperty InputScopeProperty MacOS
DependencyProperty IsPasswordRevealButtonEnabledProperty MacOS
DependencyProperty MaxLengthProperty MacOS
DependencyProperty PasswordCharProperty all platforms supported by Uno Platform
DependencyProperty PasswordProperty MacOS
DependencyProperty PasswordRevealModeProperty MacOS
DependencyProperty PlaceholderTextProperty MacOS
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty iOS, MacOS, WASM, Skia, tvOS
DependencyProperty SelectionFlyoutProperty WASM, Xamarin
DependencyProperty SelectionHighlightColorProperty MacOS
DependencyProperty TextReadingOrderProperty all platforms supported by Uno Platform
bool HasUnwrappableNativeObject all platforms supported by Uno Platform
IObjectReference NativeObject all platforms supported by Uno Platform
bool CanPasteClipboardContent WASM, Xamarin
object Description MacOS
object Header MacOS
DataTemplate HeaderTemplate MacOS
InputScope InputScope MacOS
bool IsPasswordRevealButtonEnabled MacOS
int MaxLength MacOS
string Password MacOS
string PasswordChar all platforms supported by Uno Platform
PasswordRevealMode PasswordRevealMode MacOS
string PlaceholderText MacOS
bool PreventKeyboardDisplayOnProgrammaticFocus iOS, MacOS, WASM, Skia, tvOS
FlyoutBase SelectionFlyout WASM, Xamarin
SolidColorBrush SelectionHighlightColor MacOS
TextReadingOrder TextReadingOrder all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
I As() all platforms supported by Uno Platform
PasswordBox FromAbi(nint) all platforms supported by Uno Platform
bool Equals(PasswordBox) all platforms supported by Uno Platform
bool Equals(object) all platforms supported by Uno Platform
int GetHashCode() all platforms supported by Uno Platform
void SelectAll() MacOS
void PasteFromClipboard() MacOS
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
ContextMenuOpeningEventHandler ContextMenuOpening WASM, Xamarin
RoutedEventHandler PasswordChanged MacOS
TypedEventHandler<PasswordBox, PasswordBoxPasswordChangingEventArgs> PasswordChanging all platforms supported by Uno Platform
TextControlPasteEventHandler Paste MacOS

Last updated Thursday, 27 August 2026 18:27.