Class SliceDataZone
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
SliceDataZone
Assembly: FastReport.Olap.dll
Syntax
public class SliceDataZone : DataZone, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
SliceDataZone(CustomGrid)
Declaration
public SliceDataZone(CustomGrid Grid)
Parameters
Properties
ColCount
Declaration
public override int ColCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Images
Declaration
public ImageList Images { get; set; }
Property Value
Type |
Description |
System.Windows.Forms.ImageList |
|
RowCount
Declaration
public override int RowCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
SelectedMeasure
Declaration
public int SelectedMeasure { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
AcceptDrag(Object)
Declaration
protected override bool AcceptDrag(object dragItem)
Parameters
Type |
Name |
Description |
System.Object |
dragItem |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
protected override ContextMenuStrip CreateContextMenu()
Returns
Type |
Description |
System.Windows.Forms.ContextMenuStrip |
|
Overrides
DoDrawCell(Graphics, Rectangle, MeasureCell, CellState)
Declaration
protected void DoDrawCell(Graphics g, Rectangle r, MeasureCell cell, CellState cs)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Drawing.Rectangle |
r |
|
MeasureCell |
cell |
|
CellState |
cs |
|
DoGetCellImageIndex(MeasureCell, out Int32)
Declaration
protected void DoGetCellImageIndex(MeasureCell cell, out int imageIndex)
Parameters
Type |
Name |
Description |
MeasureCell |
cell |
|
System.Int32 |
imageIndex |
|
DoGetCellStyle(MeasureCell, CellState, out Style)
Declaration
protected void DoGetCellStyle(MeasureCell cell, CellState cs, out Style style)
Parameters
DoGetCellText(MeasureCell, out String)
Declaration
protected void DoGetCellText(MeasureCell cell, out string text)
Parameters
Type |
Name |
Description |
MeasureCell |
cell |
|
System.String |
text |
|
GetColWidth(Int32)
Declaration
public override int GetColWidth(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Declaration
protected override int GetHorzScrollMax()
Returns
Type |
Description |
System.Int32 |
|
Overrides
GetRowHeight(Int32)
Declaration
public override int GetRowHeight(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
GetText(Int32, Int32)
Declaration
protected override string GetText(int Col, int RowIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
Col |
|
System.Int32 |
RowIndex |
|
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
protected override int GetVertScrollMax()
Returns
Type |
Description |
System.Int32 |
|
Overrides
HandleContextPopup(Point)
Declaration
protected override bool HandleContextPopup(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
protected override void OnDragDrop(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Overrides
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Overrides
Declaration
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, Point pt)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ContextMenuStrip |
menu |
|
System.Drawing.Point |
pt |
|
SetColWidth(Int32, Int32)
Declaration
public override void SetColWidth(int Index, int Width)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
System.Int32 |
Width |
|
Overrides
SetRowHeight(Int32, Int32)
Declaration
public override void SetRowHeight(int Index, int Height)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
System.Int32 |
Height |
|
Overrides
Events
OnCellDoubleClick
Declaration
public event DataCellDoubleClickEventHandler OnCellDoubleClick
Event Type
OnDrawCell
Declaration
public event DataCellDrawEventHandler OnDrawCell
Event Type
OnGetCellImageIndex
Declaration
public event DataCellImageIndexEventHandler OnGetCellImageIndex
Event Type
OnGetCellStyle
Declaration
public event DataCellStyleEventHandler OnGetCellStyle
Event Type
OnGetCellText
Declaration
public event DataCellTextEventHandler OnGetCellText
Event Type