Table of Contents

Class CubeDataZone

Namespace: FastReport.Olap.Controls
Assembly: FastCube.Mono.dll

Implementation of zone for cube data.

public class CubeDataZone : DataZone

Inheritance

objectMarshalByRefObjectComponentControlCustomZoneDataZoneCubeDataZone

Derived

DetailDataZone

Inherited Members

DataZone.ClientRectangle, DataZone.ClientSize, DataZone.ColCount, DataZone.ContextMenuStrip, DataZone.FirstVisibleCol, DataZone.FirstVisibleRow, DataZone.LastVisibleCol, DataZone.LastVisibleRow, DataZone.RowCount, DataZone.ScrollSize, DataZone.Selection, DataZone.CanUpdateScrolls, DataZone.FirstCellOffset, DataZone.LastPointInfo, DataZone.OwnerGrid, DataZone.EnsureVisible(int, int), DataZone.GetColWidth(int), DataZone.GetDataPoint(Point), DataZone.GetPlainText(), DataZone.GetRowHeight(int), DataZone.MoveSizing(SizingInfo), DataZone.SelectAll(), DataZone.SelectCell(int, int, bool), DataZone.SelectCol(int), DataZone.SelectCols(int, int), DataZone.SelectRow(int), DataZone.SelectRows(int, int), DataZone.SetColWidth(int, int), DataZone.SetRowHeight(int, int), DataZone.StartSizing(SizingInfo), DataZone.StopSizing(SizingInfo), DataZone.UpdateScrolls(bool, bool), DataZone.ClearSelection(), DataZone.ContinueSelection(Point), DataZone.GetColHeaderRect(int, int), DataZone.GetDataRect(Rectangle), DataZone.GetDataRect(Point), DataZone.GetHeaderOptions(int), DataZone.GetHorzScrollMax(), DataZone.GetPointInfo(Point), DataZone.GetRowHeaderRect(int, int), DataZone.GetRowIndex(int), DataZone.GetSelectionMaxCol(), DataZone.GetSelectionMaxRow(), DataZone.GetSelectionMaxVisibleCol(bool), DataZone.GetSelectionMaxVisibleRow(bool), DataZone.GetText(int, int), DataZone.GetVertScrollMax(), DataZone.InvalidatePointInfo(), DataZone.IsCellFocused(int, int), DataZone.IsCellSelected(int, int), DataZone.IsInputKey(Keys), DataZone.MoveFocusedCell(int, int, bool), DataZone.MoveScroll(ScrollBar, int), DataZone.OnClientSizeChanged(EventArgs), DataZone.OnKeyDown(KeyEventArgs), DataZone.OnKeyUp(KeyEventArgs), DataZone.OnMouseDown(MouseEventArgs), DataZone.OnMouseLeave(EventArgs), DataZone.OnMouseMove(MouseEventArgs), DataZone.OnMouseUp(MouseEventArgs), DataZone.OnMouseWheel(MouseEventArgs), DataZone.OnPaint(PaintEventArgs), DataZone.OnScroll(ScrollEventArgs), DataZone.RestoreSelection(), DataZone.ScrollIfAtBorder(Point), DataZone.SetScroll(ScrollBar, int), DataZone.SetSelection(Point), DataZone.StartSelection(Point), DataZone.StartSelection(int, int, bool), DataZone.StartSelectionUpdate(), DataZone.StopSelectionUpdate(), DataZone.UpdateCursor(), CustomZone.contextMenuStrip, CustomZone.zoneOwner, CustomZone.Restrictions, CustomZone.ZoneOwner, CustomZone.InvalidateSizingLine(SizingInfo), CustomZone.MoveSizing(SizingInfo), CustomZone.StartSizing(SizingInfo), CustomZone.StopSizing(SizingInfo), CustomZone.UpdateSizingDrawInfo(SizingInfo), CustomZone.AcceptDrag(object), CustomZone.ContextMenuNeeded(), CustomZone.CreateContextMenu(), CustomZone.DrawSizingLine(Graphics), CustomZone.GetDragObject(DragEventArgs), CustomZone.HandleContextPopup(Point), CustomZone.MoveDrag(bool, Point), CustomZone.OnDragDrop(DragEventArgs), CustomZone.OnDragLeave(EventArgs), CustomZone.OnDragOver(DragEventArgs), CustomZone.OnMouseDown(MouseEventArgs), CustomZone.OnMouseMove(MouseEventArgs), CustomZone.OnMouseUp(MouseEventArgs), CustomZone.ProcessCmdKey(ref Message, Keys)

Constructors

CubeDataZone(CustomGrid)

Creates a new instance.

public CubeDataZone(CustomGrid Grid)

Parameters

Grid CustomGrid

Fields

orderedRecordSet

Refernce to ordered record set.

protected OrderedRecordSet orderedRecordSet

Field Value

OrderedRecordSet

Properties

ColCount

Gets numbe rof columns.

public override int ColCount { get; }

Property Value

int

Columns

Gets or sets cube data columns.

public CubeDataColumns Columns { get; set; }

Property Value

CubeDataColumns

FirstCellOffset

Gets first cell offset.

protected override Point FirstCellOffset { get; }

Property Value

Point

Grid

Gets the grid.

public CubeGrid Grid { get; }

Property Value

CubeGrid

HasFilteringSupport

Gets indicator that zone has filterring support.

protected bool HasFilteringSupport { get; }

Property Value

bool

IndicatorSize

Gets the indicator size.

protected Size IndicatorSize { get; }

Property Value

Size

RowCount

Gets number of rows.

public override int RowCount { get; }

Property Value

int

ValidData

Gets indicator that data is valid.

protected virtual bool ValidData { get; }

Property Value

bool

Methods

CreateContextMenu()

Creates context menu.

protected override ContextMenuStrip CreateContextMenu()

Returns

ContextMenuStrip

CreateOrderedRecordSet()

Creates ordered record set.

protected virtual OrderedRecordSet CreateOrderedRecordSet()

Returns

OrderedRecordSet

DrawHeaderCell(Graphics, Rectangle, Drawer, int)

Draws header cell.

protected void DrawHeaderCell(Graphics g, Rectangle r, Drawer drawer, int Col)

Parameters

g Graphics

r Rectangle

drawer Drawer

Col int

DropDown(int)

Shows dropdown for column.

protected void DropDown(int Col)

Parameters

Col int

GetColWidth(int)

Gets column width.

public override int GetColWidth(int Index)

Parameters

Index int

Returns

int

GetFilter(int)

Gets filter by column.

protected virtual UniqueValuesFieldFilter GetFilter(int Col)

Parameters

Col int

Returns

UniqueValuesFieldFilter

GetHeaderOptions(int)

Gets header options.

protected override ItemOptions GetHeaderOptions(int Col)

Parameters

Col int

Returns

ItemOptions

GetRowHeight(int)

Gets row hieght.

public override int GetRowHeight(int Index)

Parameters

Index int

Returns

int

GetRowIndex(int)

Gets row index.

protected override int GetRowIndex(int Row)

Parameters

Row int

Returns

int

GetText(int, int)

Gets text by column and row.

protected override string GetText(int Col, int RowIndex)

Parameters

Col int

RowIndex int

Returns

string

HandleContextPopup(Point)

Handles contex popup.

protected override bool HandleContextPopup(Point pt)

Parameters

pt Point

Returns

bool

OnMouseDown(MouseEventArgs)

Raises the System.Windows.Forms.Control.MouseDown event.

protected override void OnMouseDown(MouseEventArgs e)

Parameters

e MouseEventArgs

A System.Windows.Forms.MouseEventArgs that contains the event data.

OnPaint(PaintEventArgs)

Raises the System.Windows.Forms.Control.Paint event.

protected override void OnPaint(PaintEventArgs e)

Parameters

e PaintEventArgs

A System.Windows.Forms.PaintEventArgs that contains the event data.

PrepareContextMenuFor(ContextMenuStrip, Point)

Preapeares context menu.

protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, Point pt)

Parameters

menu ContextMenuStrip

pt Point

SetColWidth(int, int)

Sets column width.

public override void SetColWidth(int Index, int Width)

Parameters

Index int

Width int

SetRowHeight(int, int)

Sets row height.

public override void SetRowHeight(int Index, int Height)

Parameters

Index int

Height int

UpdateRowCount()

Updates number of rows.

protected void UpdateRowCount()