Class Cell
In Microsoft SQL Server 2005 Analysis Services (SSAS), a cell represents the unique logical intersection of one position from every axis in the cell set. Because every logical intersection in a cell set may or may not have a corresponding record in a fact table, not every cell in a cell set that contains data.
Inheritance
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class Cell
Remarks
A cell is created through GetCell method in AdomdProvider class by passing the index values, and the cell values are pumped into PivotCellDescriptor of PivotEngine.
Constructors
Cell()
Initializes a new instance of the Cell class.
Declaration
public Cell()
Cell(Object, String, String)
Initializes a new instance of the Cell class.
Declaration
public Cell(object value, string formattedValue, string formattedString)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.String | formattedValue | The formatted value. |
System.String | formattedString | The formatted string. |
Cell(Object, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Initializes the new instance of the Cell class.
Declaration
public Cell(object value, string formattedValue, string formattedString, string fontName, int? fontSize, int? foreColor, int? backColor, int? fontFlags)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The cell value obtained as from the cube data. |
System.String | formattedValue | The formatted value of the cell. |
System.String | formattedString | The formatted string value of the cell. |
System.String | fontName | The font name of the cell value. |
System.Nullable<System.Int32> | fontSize | The font size of the cell. |
System.Nullable<System.Int32> | foreColor | The foreground color of the cell. |
System.Nullable<System.Int32> | backColor | The background color of the cell. |
System.Nullable<System.Int32> | fontFlags | The font effects of the cell. |
Properties
BackColor
Gets or sets the background color of the cell.
Declaration
public int? BackColor { get; set; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
FontFlags
Gets or sets the font effects like Bold, Italic, Strikethrough and Underline to the cell value.
Declaration
public int? FontFlags { get; set; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
FontName
Gets or sets the font name of the cell values.
Declaration
public string FontName { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size of the cell values.
Declaration
public int? FontSize { get; set; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
ForeColor
Gets or sets the foreground color of the cell.
Declaration
public int? ForeColor { get; set; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
FormatString
Gets or sets the formatted string of the cell.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The formatted string. |
FormattedValue
Gets or sets the formatted value of the cell.
Declaration
public string FormattedValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The formatted value. |
Properties
Gets or sets the collection of properties.
Declaration
public PropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
PropertyCollection | The properties. |
Value
Gets or sets the value of the cell.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |