Show / Hide Table of Contents

Class CrossViewCellDescriptor

The descriptor that is used to describe one CrossView data cell.

Inheritance
System.Object
CrossViewDescriptor
CrossViewCellDescriptor
Implements
IFRSerializable
Inherited Members
CrossViewDescriptor.Expression
CrossViewDescriptor.TemplateColumn
CrossViewDescriptor.TemplateRow
CrossViewDescriptor.TemplateCell
CrossViewDescriptor.Deserialize(FRReader)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.CrossView
Assembly: FastReport.OpenSource.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
CrossViewDescriptor.Assign(CrossViewDescriptor)

Serialize(FRWriter)

Serializes the object.

Declaration
public override void Serialize(FRWriter writer)
Parameters
Type Name Description
FRWriter writer

Writer object.

Overrides
CrossViewDescriptor.Serialize(FRWriter)

Implements

IFRSerializable
Back to top Generated by DocFX