PasswordBox.FontSource Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the font source that is applied to the password box for rendering content.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.Windows.Documents.FontSourceThe font source used to render content in the text box. The default is Nothing.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value set is not a valid source. |
Setting this property to Nothing will clear out any previously assigned FontSource property causing the PasswordBox to update its rending without any custom font source.
This property is not available in XAML.
Show: