Share via


ExceptionMessageBox.Font Property

Definition

Gets or sets the font used in the message box.

public:
 property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Property Font As Font

Property Value

A Font object.

Remarks

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

The default value is null.

Applies to