Share via


ExceptionMessageBox.UseOwnerFont Property

Specifies whether to retrieve the font of the owner window and use it as the font for the exception message box.

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

Syntax

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

value = instance.UseOwnerFont

instance.UseOwnerFont = value
public bool UseOwnerFont { get; set; }
public:
property bool UseOwnerFont {
    bool get ();
    void set (bool value);
}
member UseOwnerFont : bool with get, set
function get UseOwnerFont () : boolean 
function set UseOwnerFont (value : boolean)

Property Value

Type: System.Boolean
A Boolean value.

Remarks

This property is ignored if Font is not nulla null reference (Nothing in Visual Basic).

The default value is false.

See Also

Reference

ExceptionMessageBox Class

Microsoft.SqlServer.MessageBox Namespace