Class SliceItemsZone
Namespace: FastReport.Olap.Controls
Assembly: FastCube.WinForms.dll
Implementation of zone for silce items.
public class SliceItemsZone : ItemsZone
Inheritance
object ← MarshalByRefObject ← Component ← Control ← CustomZone ← ItemsZone ← SliceItemsZone
Inherited Members
ItemsZone.dropDownFromItem, ItemsZone.popupWindow, ItemsZone.OnGetImageIndex, ItemsZone.ContextMenuStrip, ItemsZone.FirstVisibleItem, ItemsZone.Images, ItemsZone.RequiredSize, ItemsZone.Spacing, ItemsZone.AllowDrag, ItemsZone.ItemCount, ItemsZone.ItemDirection, ItemsZone.LastPointInfo, ItemsZone.DropDown(int), ItemsZone.FullUpdate(), ItemsZone.GetItem(int), ItemsZone.MoveSizing(SizingInfo), ItemsZone.StartSizing(SizingInfo), ItemsZone.StopSizing(SizingInfo), ItemsZone.CreatePopupWindow(object), ItemsZone.GetDragIndexAt(Point, out int), ItemsZone.GetEmptyText(), ItemsZone.GetIndexAt(Point), ItemsZone.GetItemHeight(int), ItemsZone.GetItemImageIndex(int), ItemsZone.GetItemOptions(object), ItemsZone.GetItemRect(int), ItemsZone.GetItemSortDirection(object), ItemsZone.GetItemsRectangle(), ItemsZone.GetItemText(object), ItemsZone.GetItemWidth(int), ItemsZone.GetPointInfo(Point), ItemsZone.HandleContextPopup(Point), ItemsZone.InitDrag(), ItemsZone.InvalidateItem(int), ItemsZone.InvalidatePointInfo(), ItemsZone.InvalidateScroll(Scrollers), ItemsZone.MoveDrag(bool, Point), ItemsZone.OnClientSizeChanged(EventArgs), ItemsZone.OnMouseDown(MouseEventArgs), ItemsZone.OnMouseLeave(EventArgs), ItemsZone.OnMouseMove(MouseEventArgs), ItemsZone.OnMouseUp(MouseEventArgs), ItemsZone.OnPaint(PaintEventArgs), ItemsZone.PaintItem(Graphics, Rectangle, int), ItemsZone.PaintScroller(Graphics, Rectangle, Scrollers, bool), ItemsZone.PrepareContextMenuFor(ContextMenuStrip, int), ItemsZone.Scroll(Scrollers), ItemsZone.SetItemWidth(int, int), ItemsZone.UpdateCursor(), ItemsZone.UpdateLayout(), 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
SliceItemsZone(CustomGrid)
Creates a new instance.
public SliceItemsZone(CustomGrid Grid)
Parameters
Grid
CustomGrid
Properties
AllowDrag
Gets indocator that is allow drag.
protected override bool AllowDrag { get; }
Property Value
ContainerType
Gets or sets container type.
public SliceContainerType ContainerType { get; set; }
Property Value
SliceContainerType
ItemCount
Gets number of items.
protected override int ItemCount { 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
CreatePopupWindow(object)
Creates a popup window for item.
protected override PopupWindow CreatePopupWindow(object item)
Parameters
item
object
Returns
FullUpdate()
Updates entire layout.
public override void FullUpdate()
GetEmptyText()
Gets empty text.
protected override string GetEmptyText()
Returns
GetItem(int)
Gets item by index.
public override object GetItem(int Index)
Parameters
Index
int
Returns
GetItemOptions(object)
Gets item options.
protected override ItemOptions GetItemOptions(object item)
Parameters
item
object
Returns
GetItemSortDirection(object)
Gets item sort direction.
protected override SortDirection GetItemSortDirection(object item)
Parameters
item
object
Returns
SortDirection
GetItemText(object)
Gets text of item.
protected override string GetItemText(object item)
Parameters
item
object
Returns
GetItemWidth(int)
Gets width of item by index.
protected override int GetItemWidth(int Index)
Parameters
Index
int
Returns
OnDoubleClick(EventArgs)
Raises the System.Windows.Forms.Control.DoubleClick event.
protected override void OnDoubleClick(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.
PrepareContextMenuFor(ContextMenuStrip, int)
Prepares context menu.
protected override void PrepareContextMenuFor(ContextMenuStrip menu, int index)
Parameters
menu
ContextMenuStrip
index
int
SetItemWidth(int, int)
Sets width of item by index.
protected override void SetItemWidth(int Index, int NewWidth)
Parameters
Index
int
NewWidth
int