Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / GridElementReportStyle Class / Font Property


In This Topic
    Font Property (GridElementReportStyle)
    In This Topic
    Gets or sets the font that the grid element will have when it is printed in a report.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The font used for this report element.")>
    <CategoryAttribute("Appearance")>
    <LocalizableAttribute(True)>
    <XmlIgnoreAttribute()>
    Public Property Font As Font
    'Usage
     
    Dim instance As GridElementReportStyle
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    [Description("The font used for this report element.")]
    [Category("Appearance")]
    [Localizable(true)]
    [XmlIgnore()]
    public Font Font {get; set;}

    Property Value

    A reference to a System.Drawing.Font object representing the font that the grid element will have when it is printed in a report. By default, "Times New Roman 9 point".
    Remarks

    The value of the Font property of the parent element's ReportStyle will be used in the case where the Font property has not been explicitly set.

    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