ExceptionMessageBox.Font Property

Gets or sets the font used in the message box.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Syntax

'Declaration
Public Property Font As Font
    Get
    Set
'Usage
Dim instance As ExceptionMessageBox
Dim value As Font

value = instance.Font

instance.Font = value
public Font Font { get; set; }
public:
property Font^ Font {
    Font^ get ();
    void set (Font^ value);
}
member Font : Font with get, set
function get Font () : Font
function set Font (value : Font)

Property Value

Type: System.Drawing.Font
A Font object.

Remarks

When a font is set, UseOwnerFont is set to false.

The default value is nulla null reference (Nothing in Visual Basic).