Spread Windows Forms 10.0 Product Documentation
Font Property (CharBoxInfo)


Gets or sets font of the char box.
Syntax
'Declaration
 
Public Overridable Property Font As Font
'Usage
 
Dim instance As CharBoxInfo
Dim value As Font
 
instance.Font = value
 
value = instance.Font
public virtual Font Font {get; set;}

Property Value

A Font indicates the text font of the char box.
Remarks

The Font property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a System.Windows.Forms.Button will have the same System.Windows.Forms.Control.BackColor as its parent System.Windows.Forms.Form by default.

Because the Font is immutable (meaning that you cannot adjust any of its properties), you can only assign the Font property a new Font. However, you can base the new font on the existing font.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CharBoxInfo Class
CharBoxInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.