Class AxisZone
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
AxisZone
Assembly: FastReport.Olap.dll
Syntax
public abstract class AxisZone : CustomZone, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
AxisZone(CustomGrid)
Declaration
public AxisZone(CustomGrid Grid)
Parameters
Properties
AxisAutoSize
Declaration
public bool AxisAutoSize { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AxisAutoSizeConstraint
Declaration
public int AxisAutoSizeConstraint { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
AxisContainer
Declaration
public abstract AxisContainer AxisContainer { get; }
Property Value
BaseRequiredSize
Declaration
protected int BaseRequiredSize { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
BottomFrame
Declaration
public int BottomFrame { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Cells
Declaration
[Browsable(false)]
public CellInfos Cells { get; }
Property Value
ClientRectangle
Declaration
public Rectangle ClientRectangle { get; }
Property Value
| Type |
Description |
| System.Drawing.Rectangle |
|
ClientSize
Declaration
public Size ClientSize { get; }
Property Value
| Type |
Description |
| System.Drawing.Size |
|
Declaration
public override ContextMenuStrip ContextMenuStrip { get; set; }
Property Value
| Type |
Description |
| System.Windows.Forms.ContextMenuStrip |
|
Overrides
System.Windows.Forms.Control.ContextMenuStrip
FirstVisibleItem
Declaration
public int FirstVisibleItem { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
FirstVisibleLevel
Declaration
public int FirstVisibleLevel { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Images
Declaration
public ImageList Images { get; set; }
Property Value
| Type |
Description |
| System.Windows.Forms.ImageList |
|
LastPointInfo
Declaration
protected AxisZone.PointInfo LastPointInfo { get; set; }
Property Value
LastVisibleItem
Declaration
public virtual int LastVisibleItem { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
LastVisibleLevel
Declaration
public int LastVisibleLevel { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
RightFrame
Declaration
public int RightFrame { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
SelEnd
Declaration
public virtual int SelEnd { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
SelStart
Declaration
public virtual int SelStart { 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
CalcCellSize(AxisContainer, CellInfo)
Declaration
protected abstract Size CalcCellSize(AxisContainer sender, CellInfo info)
Parameters
Returns
| Type |
Description |
| System.Drawing.Size |
|
Declaration
protected override ContextMenuStrip CreateContextMenu()
Returns
| Type |
Description |
| System.Windows.Forms.ContextMenuStrip |
|
Overrides
DoDrawCell(Graphics, DrawerState, CellInfo)
Declaration
protected void DoDrawCell(Graphics g, DrawerState state, CellInfo info)
Parameters
DoGetCellImageIndex(CellInfo, out Int32)
Declaration
protected virtual void DoGetCellImageIndex(CellInfo cell, out int imageIndex)
Parameters
| Type |
Name |
Description |
| CellInfo |
cell |
|
| System.Int32 |
imageIndex |
|
DoGetCellSize(CellInfo, DrawerState, Boolean)
Declaration
protected virtual Size DoGetCellSize(CellInfo cell, DrawerState cs, bool growInHeight)
Parameters
Returns
| Type |
Description |
| System.Drawing.Size |
|
DoGetCellStyle(CellInfo, DrawerState, out Style)
Declaration
protected void DoGetCellStyle(CellInfo cell, DrawerState cs, out Style style)
Parameters
DoGetCellText(CellInfo, out String)
Declaration
protected virtual void DoGetCellText(CellInfo cell, out string text)
Parameters
| Type |
Name |
Description |
| CellInfo |
cell |
|
| System.String |
text |
|
Declaration
protected abstract bool DrawCell(AxisContainer sender, SliceDrawHeader rec)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
protected abstract bool DrawCellForScroll(AxisContainer sender, SliceDrawHeader rec)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
FindItemFromCoordinate(Int32)
Declaration
protected abstract int FindItemFromCoordinate(int itemCoordinate)
Parameters
| Type |
Name |
Description |
| System.Int32 |
itemCoordinate |
|
Returns
| Type |
Description |
| System.Int32 |
|
FullUpdate()
Declaration
GetCellSize(CellInfo, SizingType)
Declaration
protected abstract int GetCellSize(CellInfo info, SizingType type)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
GetItemSize(Int32)
Declaration
public abstract int GetItemSize(int itemIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
itemIndex |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetPointInfo(Point)
Declaration
protected AxisZone.PointInfo GetPointInfo(Point pt)
Parameters
| Type |
Name |
Description |
| System.Drawing.Point |
pt |
|
Returns
Declaration
protected List<int> GetPopupValuesId()
Returns
| Type |
Description |
| System.Collections.Generic.List<System.Int32> |
|
Declaration
public int GetScrollMax(int defScrollMax)
Parameters
| Type |
Name |
Description |
| System.Int32 |
defScrollMax |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetSize(Rectangle)
Declaration
protected abstract int GetSize(Rectangle r)
Parameters
| Type |
Name |
Description |
| System.Drawing.Rectangle |
r |
|
Returns
| Type |
Description |
| System.Int32 |
|
HandleContextPopup(Point)
Declaration
protected override bool HandleContextPopup(Point p)
Parameters
| Type |
Name |
Description |
| System.Drawing.Point |
p |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
InvalidateItem(CellInfo)
Declaration
protected void InvalidateItem(CellInfo info)
Parameters
InvalidatePointInfo()
Declaration
protected void InvalidatePointInfo()
IsSelected(CellInfo)
Declaration
protected abstract bool IsSelected(CellInfo info)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
MeasureCellSize(CellInfo, Boolean)
Declaration
protected Size MeasureCellSize(CellInfo cell, bool growInHeight)
Parameters
| Type |
Name |
Description |
| CellInfo |
cell |
|
| System.Boolean |
growInHeight |
|
Returns
| Type |
Description |
| System.Drawing.Size |
|
MoveSizing(SizingInfo)
Declaration
public override void MoveSizing(SizingInfo info)
Parameters
Overrides
OnClientSizeChanged(EventArgs)
Declaration
protected override void OnClientSizeChanged(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnClientSizeChanged(System.EventArgs)
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 OnMouseDown(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnMouseLeave(System.EventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.PaintEventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs)
Declaration
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, CellInfo info)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.ContextMenuStrip |
menu |
|
| CellInfo |
info |
|
SelectData(CellInfo)
Declaration
protected abstract void SelectData(CellInfo info)
Parameters
SetCellSize(CellInfo, SizingType, Int32)
Declaration
protected abstract void SetCellSize(CellInfo info, SizingType type, int value)
Parameters
StartSizing(SizingInfo)
Declaration
public override void StartSizing(SizingInfo info)
Parameters
Overrides
StopSizing(SizingInfo)
Declaration
public override void StopSizing(SizingInfo info)
Parameters
Overrides
UpdateCursor()
Declaration
protected void UpdateCursor()
UpdateLayout()
Declaration
public void UpdateLayout()
Events
OnGetCellImageIndex
Declaration
public event AxisCellImageIndexEventHandler OnGetCellImageIndex
Event Type
OnGetCellSize
Declaration
public event AxisCellSizeEventHandler OnGetCellSize
Event Type
OnGetCellStyle
Declaration
public event AxisCellStyleEventHandler OnGetCellStyle
Event Type
OnGetCellText
Declaration
public event AxisCellTextEventHandler OnGetCellText
Event Type