Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateFieldInfo Class / Font Property


In This Topic
    Font Property (DateFieldInfo)
    In This Topic
    Gets or sets the font of the FieldInfo object.
    Syntax
    'Declaration
     
    
    Public Property Font As Font
    'Usage
     
    
    Dim instance As DateFieldInfo
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    public Font Font {get; set;}

    Property Value

    A System.Drawing.Font object that indicates the font of the FieldInfo object.
    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. You can base the new font on an existing font.

    See Also