Class ItemsZone
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
ItemsZone
Assembly: FastReport.Olap.dll
Syntax
public class ItemsZone : CustomZone, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
ItemsZone(CustomZoneOwner)
Declaration
public ItemsZone(CustomZoneOwner zoneOwner)
Parameters
Fields
dropDownFromItem
Declaration
protected bool dropDownFromItem
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected PopupWindow popupWindow
Field Value
Properties
AllowDrag
Declaration
protected virtual bool AllowDrag { get; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
Images
Declaration
public ImageList Images { get; set; }
Property Value
Type |
Description |
System.Windows.Forms.ImageList |
|
ItemCount
Declaration
protected virtual int ItemCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
ItemDirection
Declaration
protected ItemsZone.Direction ItemDirection { get; set; }
Property Value
LastPointInfo
Declaration
protected ItemsZone.PointInfo LastPointInfo { get; set; }
Property Value
RequiredSize
Declaration
public virtual Size RequiredSize { get; }
Property Value
Type |
Description |
System.Drawing.Size |
|
Spacing
Declaration
public int Spacing { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
protected virtual PopupWindow CreatePopupWindow(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
DropDown(Int32)
Declaration
public void DropDown(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
FullUpdate()
Declaration
public virtual void FullUpdate()
GetDragIndexAt(Point, out Int32)
Declaration
protected ItemsZone.DragPosition GetDragIndexAt(Point pt, out int index)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
System.Int32 |
index |
|
Returns
GetEmptyText()
Declaration
protected virtual string GetEmptyText()
Returns
Type |
Description |
System.String |
|
GetIndexAt(Point)
Declaration
protected int GetIndexAt(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
Description |
System.Int32 |
|
GetItem(Int32)
Declaration
public virtual object GetItem(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Object |
|
GetItemHeight(Int32)
Declaration
protected virtual int GetItemHeight(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Int32 |
|
GetItemImageIndex(Int32)
Declaration
protected virtual int GetItemImageIndex(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Int32 |
|
GetItemOptions(Object)
Declaration
protected virtual ItemOptions GetItemOptions(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
GetItemRect(Int32)
Declaration
protected Rectangle GetItemRect(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Drawing.Rectangle |
|
GetItemSortDirection(Object)
Declaration
protected virtual SortDirection GetItemSortDirection(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
GetItemsRectangle()
Declaration
protected Rectangle GetItemsRectangle()
Returns
Type |
Description |
System.Drawing.Rectangle |
|
GetItemText(Object)
Declaration
protected virtual string GetItemText(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.String |
|
GetItemWidth(Int32)
Declaration
protected virtual int GetItemWidth(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
Returns
Type |
Description |
System.Int32 |
|
GetPointInfo(Point)
Declaration
protected virtual ItemsZone.PointInfo GetPointInfo(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
HandleContextPopup(Point)
Declaration
protected override bool HandleContextPopup(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
InitDrag()
Declaration
protected virtual void InitDrag()
InvalidateItem(Int32)
Declaration
protected void InvalidateItem(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
InvalidatePointInfo()
Declaration
protected void InvalidatePointInfo()
Declaration
protected void InvalidateScroll(Scrollers scroll)
Parameters
MoveDrag(Boolean, Point)
Declaration
protected override void MoveDrag(bool accepted, Point location)
Parameters
Type |
Name |
Description |
System.Boolean |
accepted |
|
System.Drawing.Point |
location |
|
Overrides
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 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)
PaintItem(Graphics, Rectangle, Int32)
Declaration
protected virtual void PaintItem(Graphics g, Rectangle r, int Index)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Drawing.Rectangle |
r |
|
System.Int32 |
Index |
|
Declaration
protected void PaintScroller(Graphics g, Rectangle r, Scrollers scroller, bool IsEnabled)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Drawing.Rectangle |
r |
|
Scrollers |
scroller |
|
System.Boolean |
IsEnabled |
|
Declaration
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, int index)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ContextMenuStrip |
menu |
|
System.Int32 |
index |
|
Declaration
protected void Scroll(Scrollers scroller)
Parameters
SetItemWidth(Int32, Int32)
Declaration
protected virtual void SetItemWidth(int Index, int NewWidth)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
|
System.Int32 |
NewWidth |
|
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
protected virtual void UpdateLayout()
Events
OnGetImageIndex
Declaration
public event ImageIndexEventHandler OnGetImageIndex
Event Type