ResetFont Method (ElementWindowless)
Resets the font for the element to it default value.
public virtual void ResetFont()
'Declaration
Public Overridable Sub ResetFont()
'Usage
Dim instance As ElementWindowless
instance.ResetFont()
Font f = new System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold);
element.Font = f;
element.State = FarPoint.Win.ElementState.Inverted;
element.ResetFont();
Dim f As New System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold)
element.Font = f
element.State = FarPoint.Win.ElementState.Inverted
element.ResetFont();