Table of Contents

Class YAxisZone

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

Implementation of zone for y axis.

public class YAxisZone : AxisZone

Inheritance

objectMarshalByRefObjectComponentControlCustomZoneAxisZoneYAxisZone

Inherited Members

AxisZone.OnGetCellImageIndex, AxisZone.OnGetCellSize, AxisZone.OnGetCellStyle, AxisZone.OnGetCellText, AxisZone.AxisAutoSize, AxisZone.AxisAutoSizeConstraint, AxisZone.AxisContainer, AxisZone.BottomFrame, AxisZone.Cells, AxisZone.ClientRectangle, AxisZone.ClientSize, AxisZone.ContextMenuStrip, AxisZone.FirstVisibleItem, AxisZone.FirstVisibleLevel, AxisZone.Images, AxisZone.LastVisibleItem, AxisZone.LastVisibleLevel, AxisZone.RightFrame, AxisZone.SelEnd, AxisZone.SelStart, AxisZone.BaseRequiredSize, AxisZone.LastPointInfo, AxisZone.FullUpdate(), AxisZone.GetItemSize(int), AxisZone.GetScrollMax(int), AxisZone.MoveSizing(SizingInfo), AxisZone.StartSizing(SizingInfo), AxisZone.StopSizing(SizingInfo), AxisZone.UpdateLayout(), AxisZone.AcceptDrag(object), AxisZone.CalcCellSize(AxisContainer, CellInfo), AxisZone.CreateContextMenu(), AxisZone.DoDrawCell(Graphics, DrawerState, CellInfo), AxisZone.DoGetCellImageIndex(CellInfo, out int), AxisZone.DoGetCellSize(CellInfo, DrawerState, bool), AxisZone.DoGetCellStyle(CellInfo, DrawerState, out Style), AxisZone.DoGetCellText(CellInfo, out string), AxisZone.DrawCell(AxisContainer, SliceDrawHeader), AxisZone.DrawCellForScroll(AxisContainer, SliceDrawHeader), AxisZone.FindItemFromCoordinate(int), AxisZone.GetCellSize(CellInfo, SizingType), AxisZone.GetPointInfo(Point), AxisZone.GetPopupValuesId(), AxisZone.GetSize(Rectangle), AxisZone.HandleContextPopup(Point), AxisZone.InvalidateItem(CellInfo), AxisZone.InvalidatePointInfo(), AxisZone.IsSelected(CellInfo), AxisZone.MeasureCellSize(CellInfo, bool), AxisZone.OnClientSizeChanged(EventArgs), AxisZone.OnDragDrop(DragEventArgs), AxisZone.OnMouseDoubleClick(MouseEventArgs), AxisZone.OnMouseDown(MouseEventArgs), AxisZone.OnMouseLeave(EventArgs), AxisZone.OnMouseMove(MouseEventArgs), AxisZone.OnMouseUp(MouseEventArgs), AxisZone.OnPaint(PaintEventArgs), AxisZone.PrepareContextMenuFor(ContextMenuStrip, CellInfo), AxisZone.SelectData(CellInfo), AxisZone.SetCellSize(CellInfo, SizingType, int), AxisZone.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

YAxisZone(CustomGrid)

Creates a new instance.

public YAxisZone(CustomGrid Grid)

Parameters

Grid CustomGrid

Properties

AxisContainer

Gets axis container.

public override AxisContainer AxisContainer { get; }

Property Value

AxisContainer

LastVisibleItem

Gets last visible item.

public override int LastVisibleItem { get; }

Property Value

int

RequiredSize

Gets required size.

public Size RequiredSize { get; }

Property Value

Size

SelEnd

Gets selection end.

public override int SelEnd { get; }

Property Value

int

SelStart

Gets selection start.

public override int SelStart { get; }

Property Value

int

Methods

CalcCellSize(AxisContainer, CellInfo)

Calcs size of cell.

protected override Size CalcCellSize(AxisContainer sender, CellInfo info)

Parameters

sender AxisContainer

info CellInfo

Returns

Size

DrawCell(AxisContainer, SliceDrawHeader)

Draws cell.

protected override bool DrawCell(AxisContainer sender, SliceDrawHeader rec)

Parameters

sender AxisContainer

rec SliceDrawHeader

Returns

bool

DrawCellForScroll(AxisContainer, SliceDrawHeader)

Draws cell for scroll.

protected override bool DrawCellForScroll(AxisContainer sender, SliceDrawHeader rec)

Parameters

sender AxisContainer

rec SliceDrawHeader

Returns

bool

FindItemFromCoordinate(int)

Finds item from coordinate.

protected override int FindItemFromCoordinate(int itemCoordinate)

Parameters

itemCoordinate int

Returns

int

GetCellSize(CellInfo, SizingType)

Gets size of cell.

protected override int GetCellSize(CellInfo info, SizingType type)

Parameters

info CellInfo

type SizingType

Returns

int

GetItemSize(int)

Gets item size by index.

public override int GetItemSize(int itemIndex)

Parameters

itemIndex int

Returns

int

GetSize(Rectangle)

Gets size.

protected override int GetSize(Rectangle r)

Parameters

r Rectangle

Returns

int

IsSelected(CellInfo)

Returns is cell selected.

protected override bool IsSelected(CellInfo info)

Parameters

info CellInfo

Returns

bool

SelectData(CellInfo)

Selects cell data.

protected override void SelectData(CellInfo info)

Parameters

info CellInfo

SetCellSize(CellInfo, SizingType, int)

Sets size of cell.

protected override void SetCellSize(CellInfo info, SizingType type, int value)

Parameters

info CellInfo

type SizingType

value int