FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / ResetFont Method
Example


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