Share via


WpfControl.Font Property

Gets the name of the font for textual parts of this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Font As String
public virtual string Font { get; }
public:
virtual property String^ Font {
    String^ get ();
}
abstract Font : string with get 
override Font : string with get
function get Font () : String

Property Value

Type: String
The name of the font for textual parts of this control.

.NET Framework Security

See Also

Reference

WpfControl Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace