Xceed Grid for WinForms v4.3 Documentation
ReportStyle Property (GridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement Class : ReportStyle Property
Gets the report style of the grid element.
Syntax
'Declaration
 
<DescriptionAttribute("The report style of the grid element.")>
<CategoryAttribute("Appearance")>
<TypeConverterAttribute("Xceed.Grid.Design.BlankExpandableObjectConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
Public ReadOnly Property ReportStyle As GridElementReportStyle
'Usage
 
Dim instance As GridElement
Dim value As GridElementReportStyle
 
value = instance.ReportStyle
[Description("The report style of the grid element.")]
[Category("Appearance")]
[TypeConverter("Xceed.Grid.Design.BlankExpandableObjectConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public GridElementReportStyle ReportStyle {get;}

Property Value

A Xceed.Grid.Reporting.GridElementReportStyle representing the style the grid element will have when it is printed in a report.
Remarks

The report style will override the corresponding settings in the ReportStyleSheet in the case where its properties, or the properties of its parent's report style, have been explicitly set.

Each element's report style can be used to provide a specific style for that element when it is printed in a report.

The IsReportStyleDefined property should be consulted before the ReportStyle property is accessed to prevent a new instance of a Xceed.Grid.Reporting.GridElementReportStyle from being created in the case where none of the properties of the ReportStyle have 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

Reference

GridElement Class
GridElement Members