Export (0) Print
Expand All

PasswordBox.FontSource Property

Silverlight

Gets or sets the font source that is applied to the password box for rendering content.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public FontSource FontSource { get; set; }

Property Value

Type: System.Windows.Documents.FontSource
The font source used to render content in the text box. The default is null.

ExceptionCondition
ArgumentOutOfRangeException

The value set is not a valid source.

Setting this property to null 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft