Class CrossViewCellDescriptor
The descriptor that is used to describe one CrossView data cell.
Implements
Inherited Members
Namespace: FastReport.CrossView
Assembly: FastReport.dll
Syntax
public class CrossViewCellDescriptor : CrossViewDescriptor, IFRSerializable
Remarks
The CrossViewCellDescriptor class is used to define one data cell of the CrossView. To set visual appearance of the data cell, use the TemplateCell property.
The collection of descriptors used to represent the CrossView data cells is stored in the CrossViewObject.Data.Cells property.
Constructors
CrossViewCellDescriptor()
Initializes a new instance of the CrossViewCellDescriptor class
Declaration
public CrossViewCellDescriptor()
CrossViewCellDescriptor(String, String, String, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the CrossViewCellDescriptor class
Declaration
public CrossViewCellDescriptor(string xFieldName, string yFieldName, string measureName, bool isXTotal, bool isYTotal, bool isXGrandTotal, bool isYGrandTotal)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | xFieldName | The Field Name in X axis. |
| System.String | yFieldName | The Field Name in Y axis. |
| System.String | measureName | The Measure Name. |
| System.Boolean | isXTotal | Indicates the "XTotal" element. |
| System.Boolean | isYTotal | Indicates the "YTotal" element. |
| System.Boolean | isXGrandTotal | Indicates the "XGrandTotal" element. |
| System.Boolean | isYGrandTotal | Indicates the "YGrandTotal" element. |
Properties
IsXGrandTotal
Gets a value indicating that this is the "GrandTotal" element on X axis.
Declaration
public bool IsXGrandTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsXTotal
Gets a value indicating that this is the "Total" element on X axis.
Declaration
public bool IsXTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsYGrandTotal
Gets a value indicating that this is the "GrandTotal" element on Y axis.
Declaration
public bool IsYGrandTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsYTotal
Gets a value indicating that this is the "Total" element on Y axis.
Declaration
public bool IsYTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MeasureName
Gets the name of measure in cube.
Declaration
public string MeasureName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
X
Gets the x coordinate.
Declaration
public int X { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
XFieldName
Gets the name of field in X axis.
Declaration
public string XFieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Y
Gets the y coordinate.
Declaration
public int Y { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
YFieldName
Gets the name of field in Y axis.
Declaration
public string YFieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Assign(CrossViewDescriptor)
Assigns values from another descriptor.
Declaration
public override void Assign(CrossViewDescriptor source)
Parameters
| Type | Name | Description |
|---|---|---|
| CrossViewDescriptor | source | Descriptor to assign values from. |
Overrides
Serialize(FRWriter)
Serializes the object.
Declaration
public override void Serialize(FRWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| FRWriter | writer | Writer object. |