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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : ReportStyle Property
Gets the report style of the grid.
Syntax
'Declaration
 
<DescriptionAttribute("The report style of the grid.")>

<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 GridControlReportStyle
'Usage
 
Dim instance As GridControl

Dim value As GridControlReportStyle

 

value = instance.ReportStyle
[Description("The report style of the grid.")]

[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 GridControlReportStyle ReportStyle {get;}

Property Value

A Xceed.Grid.Reporting.GridControlReportStyle representing the style the grid 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.GridControlReportStyle 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

GridControl Class
GridControl Members