Table of Contents

Class SliceDataZone

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

Implementation of zone for slize data.

public class SliceDataZone : DataZone

Inheritance

objectMarshalByRefObjectComponentControlCustomZoneDataZoneSliceDataZone

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

SliceDataZone(CustomGrid)

Creates a new instance.

public SliceDataZone(CustomGrid Grid)

Parameters

Grid CustomGrid

Properties

ColCount

Gets number of columns.

public override int ColCount { get; }

Property Value

int

Images

Gets or sets reference to images list.

public ImageList Images { get; set; }

Property Value

ImageList

RowCount

Gets number of rows.

public override int RowCount { get; }

Property Value

int

SelectedMeasure

Gets selected measure.

public int SelectedMeasure { get; }

Property Value

int

Methods

AcceptDrag(object)

Accepts drag.

protected override bool AcceptDrag(object dragItem)

Parameters

dragItem object

Returns

bool

CreateContextMenu()

Creates context menu.

protected override ContextMenuStrip CreateContextMenu()

Returns

ContextMenuStrip

DoDrawCell(Graphics, Rectangle, MeasureCell, CellState)

Invokes drawing cell event.

protected void DoDrawCell(Graphics g, Rectangle r, MeasureCell cell, CellState cs)

Parameters

g Graphics

r Rectangle

cell MeasureCell

cs CellState

DoGetCellImageIndex(MeasureCell, out int)

Invokes getting cell image index event.

protected void DoGetCellImageIndex(MeasureCell cell, out int imageIndex)

Parameters

cell MeasureCell

imageIndex int

DoGetCellStyle(MeasureCell, CellState, out Style)

Invokes getting cell style event.

protected void DoGetCellStyle(MeasureCell cell, CellState cs, out Style style)

Parameters

cell MeasureCell

cs CellState

style Style

DoGetCellText(MeasureCell, out string)

Invokes getting cell text event.

protected void DoGetCellText(MeasureCell cell, out string text)

Parameters

cell MeasureCell

text string

GetColWidth(int)

Gets column width.

public override int GetColWidth(int Index)

Parameters

Index int

Returns

int

GetHorzScrollMax()

Gets horizontal scroll max.

protected override int GetHorzScrollMax()

Returns

int

GetRowHeight(int)

Gets row hieght.

public override int GetRowHeight(int Index)

Parameters

Index 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

GetVertScrollMax()

Gets vertical scroll max.

protected override int GetVertScrollMax()

Returns

int

HandleContextPopup(Point)

Handles contex popup.

protected override bool HandleContextPopup(Point pt)

Parameters

pt Point

Returns

bool

OnDragDrop(DragEventArgs)

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

protected override void OnDragDrop(DragEventArgs drgevent)

Parameters

drgevent DragEventArgs

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

OnMouseDoubleClick(MouseEventArgs)

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

protected override void OnMouseDoubleClick(MouseEventArgs e)

Parameters

e MouseEventArgs

An 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)

Prepares 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

OnCellDoubleClick

Event on cell double clicked.

public event DataCellDoubleClickEventHandler OnCellDoubleClick

Event Type

DataCellDoubleClickEventHandler

OnDrawCell

Event on cell draw.

public event DataCellDrawEventHandler OnDrawCell

Event Type

DataCellDrawEventHandler

OnGetCellImageIndex

Event on getting cell image index.

public event DataCellImageIndexEventHandler OnGetCellImageIndex

Event Type

DataCellImageIndexEventHandler

OnGetCellStyle

Event on getting cell style.

public event DataCellStyleEventHandler OnGetCellStyle

Event Type

DataCellStyleEventHandler

OnGetCellText

Event on getting cell text.

public event DataCellTextEventHandler OnGetCellText

Event Type

DataCellTextEventHandler