Xceed Grid for WinForms v4.3 Documentation
BackColor Property (GridElementReportStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > GridElementReportStyle Class : BackColor Property
Gets or sets the background color of the grid element when it is printed in a report.
Syntax
'Declaration
 
<XmlIgnoreAttribute()>
<DescriptionAttribute("The background color of this report element.")>
<CategoryAttribute("Appearance")>
<EndUserDisplayNameAttribute("Background Color")>
Public Property BackColor As Color
'Usage
 
Dim instance As GridElementReportStyle
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
[XmlIgnore()]
[Description("The background color of this report element.")]
[Category("Appearance")]
[EndUserDisplayName("Background Color")]
public Color BackColor {get; set;}

Property Value

A System.Drawing.Color structure representing the background color of the grid element when it is printed in a report. By default, Color.Empty.
Remarks

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

Although this property is not ambient, because a child element occupies part of the same space as its parent element, it is necessarily inherited "visually".

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

GridElementReportStyle Class
GridElementReportStyle Members