FlexGrid for WinForms
Font Property



Gets or sets the font used to paint text in the cell.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets the font.")>
<BrowsableAttribute(True)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property Font As Font
'Usage
 
Dim instance As CellStyle
Dim value As Font
 
instance.Font = value
 
value = instance.Font
[C1Description("Gets or sets the font.")]
[Browsable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
public Font Font {get; set;}
[C1Description("Gets or sets the font.")]
[Browsable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
public:
property Font^ Font {
   Font^ get();
   void set (    Font^ value);
}
Remarks
Setting the control's Font property automatically sets the Font property of the Normal style.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback