Class AxisZone
Namespace: FastReport.Olap.Controls
Assembly: FastCube.Mono.dll
Implementation on zone control for axis.
public abstract class AxisZone : CustomZone
Inheritance
object ← MarshalByRefObject ← Component ← Control ← CustomZone ← AxisZone
Derived
Inherited Members
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
AxisZone(CustomGrid)
Creates a new instance.
public AxisZone(CustomGrid Grid)
Parameters
Grid
CustomGrid
Properties
AxisAutoSize
Gets or sets indicator that axis has auto size.
public bool AxisAutoSize { get; set; }
Property Value
AxisAutoSizeConstraint
Gets or sets indicator that axis has size constraint.
public int AxisAutoSizeConstraint { get; set; }
Property Value
AxisContainer
Gets axis container.
public abstract AxisContainer AxisContainer { get; }
Property Value
BaseRequiredSize
Gets base required size.
protected int BaseRequiredSize { get; }
Property Value
BottomFrame
Gets or sets bottom frame.
public int BottomFrame { get; set; }
Property Value
Cells
Gets refernce to cells information.
[Browsable(false)]
public CellInfos Cells { get; }
Property Value
ClientRectangle
Gets client rectangle.
public Rectangle ClientRectangle { get; }
Property Value
ClientSize
Gets client size.
public Size ClientSize { get; }
Property Value
ContextMenuStrip
Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this control.
public override ContextMenuStrip ContextMenuStrip { get; set; }
Property Value
FirstVisibleItem
Gets or sets first visible item.
public int FirstVisibleItem { get; set; }
Property Value
FirstVisibleLevel
Gets or sets first visible level.
public int FirstVisibleLevel { get; set; }
Property Value
Images
Gets or sets images list.
public ImageList Images { get; set; }
Property Value
LastPointInfo
Gets or sets the last pointinfo instance.
protected AxisZone.PointInfo LastPointInfo { get; set; }
Property Value
LastVisibleItem
Gets last visible item.
public virtual int LastVisibleItem { get; }
Property Value
LastVisibleLevel
Gets last visible level.
public int LastVisibleLevel { get; }
Property Value
RightFrame
Gets or sets right frame.
public int RightFrame { get; set; }
Property Value
SelEnd
Gets selection end.
public virtual int SelEnd { get; }
Property Value
SelStart
Gets selection start.
public virtual int SelStart { get; }
Property Value
Methods
AcceptDrag(object)
Accepts drag.
protected override bool AcceptDrag(object dragItem)
Parameters
dragItem
object
Returns
CalcCellSize(AxisContainer, CellInfo)
Calcs size of cell.
protected abstract Size CalcCellSize(AxisContainer sender, CellInfo info)
Parameters
sender
AxisContainer
info
CellInfo
Returns
CreateContextMenu()
Creates context menu.
protected override ContextMenuStrip CreateContextMenu()
Returns
DoDrawCell(Graphics, DrawerState, CellInfo)
Invokes draw cell.
protected void DoDrawCell(Graphics g, DrawerState state, CellInfo info)
Parameters
g
Graphics
state
DrawerState
info
CellInfo
DoGetCellImageIndex(CellInfo, out int)
Invokes event on getting cell image index.
protected virtual void DoGetCellImageIndex(CellInfo cell, out int imageIndex)
Parameters
cell
CellInfo
imageIndex
int
DoGetCellSize(CellInfo, DrawerState, bool)
Invokes event on getting cell size.
protected virtual Size DoGetCellSize(CellInfo cell, DrawerState cs, bool growInHeight)
Parameters
cell
CellInfo
cs
DrawerState
growInHeight
bool
Returns
DoGetCellStyle(CellInfo, DrawerState, out Style)
Invokes event on getting cell style.
protected void DoGetCellStyle(CellInfo cell, DrawerState cs, out Style style)
Parameters
cell
CellInfo
cs
DrawerState
style
Style
DoGetCellText(CellInfo, out string)
Invokes event on getting cell text.
protected virtual void DoGetCellText(CellInfo cell, out string text)
Parameters
cell
CellInfo
text
string
DrawCell(AxisContainer, SliceDrawHeader)
Draws cell.
protected abstract bool DrawCell(AxisContainer sender, SliceDrawHeader rec)
Parameters
sender
AxisContainer
rec
SliceDrawHeader
Returns
DrawCellForScroll(AxisContainer, SliceDrawHeader)
Draws cell for scroll.
protected abstract bool DrawCellForScroll(AxisContainer sender, SliceDrawHeader rec)
Parameters
sender
AxisContainer
rec
SliceDrawHeader
Returns
FindItemFromCoordinate(int)
Finds item from coordinate.
protected abstract int FindItemFromCoordinate(int itemCoordinate)
Parameters
itemCoordinate
int
Returns
FullUpdate()
Updates entire layout.
public void FullUpdate()
GetCellSize(CellInfo, SizingType)
Gets size of cell.
protected abstract int GetCellSize(CellInfo info, SizingType type)
Parameters
info
CellInfo
type
SizingType
Returns
GetItemSize(int)
Gets item size by index.
public abstract int GetItemSize(int itemIndex)
Parameters
itemIndex
int
Returns
GetPointInfo(Point)
Gets point information.
protected AxisZone.PointInfo GetPointInfo(Point pt)
Parameters
pt
Point
Returns
GetPopupValuesId()
Gets popup values id.
protected List<int> GetPopupValuesId()
Returns
GetScrollMax(int)
Gets scroll max.
public int GetScrollMax(int defScrollMax)
Parameters
defScrollMax
int
Returns
GetSize(Rectangle)
Gets size.
protected abstract int GetSize(Rectangle r)
Parameters
Returns
HandleContextPopup(Point)
Handles context popup.
protected override bool HandleContextPopup(Point p)
Parameters
p
Point
Returns
InvalidateItem(CellInfo)
Invalidates item.
protected void InvalidateItem(CellInfo info)
Parameters
info
CellInfo
InvalidatePointInfo()
Invalidates point information.
protected void InvalidatePointInfo()
IsSelected(CellInfo)
Returns is cell selected.
protected abstract bool IsSelected(CellInfo info)
Parameters
info
CellInfo
Returns
MeasureCellSize(CellInfo, bool)
Returns measure cell size.
protected Size MeasureCellSize(CellInfo cell, bool growInHeight)
Parameters
cell
CellInfo
growInHeight
bool
Returns
MoveSizing(SizingInfo)
Moves sizing.
public override void MoveSizing(SizingInfo info)
Parameters
info
SizingInfo
OnClientSizeChanged(EventArgs)
Raises the System.Windows.Forms.Control.ClientSizeChanged event.
protected override void OnClientSizeChanged(EventArgs e)
Parameters
An System.EventArgs that contains the event data.
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.
OnMouseDown(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDown event.
protected override void OnMouseDown(MouseEventArgs e)
Parameters
A System.Windows.Forms.MouseEventArgs that contains the event data.
OnMouseLeave(EventArgs)
Raises the System.Windows.Forms.Control.MouseLeave event.
protected override void OnMouseLeave(EventArgs e)
Parameters
An System.EventArgs that contains the event data.
OnMouseMove(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseMove event.
protected override void OnMouseMove(MouseEventArgs e)
Parameters
A System.Windows.Forms.MouseEventArgs that contains the event data.
OnMouseUp(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseUp event.
protected override void OnMouseUp(MouseEventArgs e)
Parameters
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
A System.Windows.Forms.PaintEventArgs that contains the event data.
PrepareContextMenuFor(ContextMenuStrip, CellInfo)
Prepares context menu.
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, CellInfo info)
Parameters
menu
ContextMenuStrip
info
CellInfo
SelectData(CellInfo)
Selects cell data.
protected abstract void SelectData(CellInfo info)
Parameters
info
CellInfo
SetCellSize(CellInfo, SizingType, int)
Sets size of cell.
protected abstract void SetCellSize(CellInfo info, SizingType type, int value)
Parameters
info
CellInfo
type
SizingType
value
int
StartSizing(SizingInfo)
Starts sizing.
public override void StartSizing(SizingInfo info)
Parameters
info
SizingInfo
StopSizing(SizingInfo)
Stops sizing.
public override void StopSizing(SizingInfo info)
Parameters
info
SizingInfo
UpdateCursor()
Updates cursor.
protected void UpdateCursor()
UpdateLayout()
Updates layout.
public void UpdateLayout()
OnGetCellImageIndex
Event on getting cell image index.
public event AxisCellImageIndexEventHandler OnGetCellImageIndex
Event Type
AxisCellImageIndexEventHandler
OnGetCellSize
Event on getting cell size.
public event AxisCellSizeEventHandler OnGetCellSize
Event Type
OnGetCellStyle
Event on getting cell style.
public event AxisCellStyleEventHandler OnGetCellStyle
Event Type
OnGetCellText
Event on getting cell text.
public event AxisCellTextEventHandler OnGetCellText