Class SliceDataZone
Namespace: FastReport.Olap.Controls
Assembly: FastCube.WinForms.dll
Implementation of zone for slize data.
public class SliceDataZone : DataZone
Inheritance
object ← MarshalByRefObject ← Component ← Control ← CustomZone ← DataZone ← SliceDataZone
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
Images
Gets or sets reference to images list.
public ImageList Images { get; set; }
Property Value
RowCount
Gets number of rows.
public override int RowCount { get; }
Property Value
SelectedMeasure
Gets selected measure.
public int SelectedMeasure { get; }
Property Value
Methods
AcceptDrag(object)
Accepts drag.
protected override bool AcceptDrag(object dragItem)
Parameters
dragItem
object
Returns
CreateContextMenu()
Creates context menu.
protected override ContextMenuStrip CreateContextMenu()
Returns
DoDrawCell(Graphics, Rectangle, MeasureCell, CellState)
Invokes drawing cell event.
protected void DoDrawCell(Graphics g, Rectangle r, MeasureCell cell, CellState cs)
Parameters
g
Graphics
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
GetHorzScrollMax()
Gets horizontal scroll max.
protected override int GetHorzScrollMax()
Returns
GetRowHeight(int)
Gets row hieght.
public override int GetRowHeight(int Index)
Parameters
Index
int
Returns
GetText(int, int)
Gets text by column and row.
protected override string GetText(int Col, int RowIndex)
Parameters
Col
int
RowIndex
int
Returns
GetVertScrollMax()
Gets vertical scroll max.
protected override int GetVertScrollMax()
Returns
HandleContextPopup(Point)
Handles contex popup.
protected override bool HandleContextPopup(Point pt)
Parameters
pt
Point
Returns
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
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
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
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
OnGetCellText
Event on getting cell text.
public event DataCellTextEventHandler OnGetCellText