Class CustomZone
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
CustomZone
Assembly: FastReport.Olap.dll
Syntax
public class CustomZone : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
CustomZone(CustomZoneOwner)
Declaration
public CustomZone(CustomZoneOwner zoneOwner)
Parameters
Fields
Declaration
protected ContextMenuStrip contextMenuStrip
Field Value
Type |
Description |
System.Windows.Forms.ContextMenuStrip |
|
zoneOwner
Declaration
protected CustomZoneOwner zoneOwner
Field Value
Properties
Restrictions
Declaration
public ZoneRestrictions Restrictions { get; set; }
Property Value
ZoneOwner
Declaration
protected CustomZoneOwner ZoneOwner { get; }
Property Value
Methods
AcceptDrag(Object)
Declaration
protected virtual bool AcceptDrag(object dragItem)
Parameters
Type |
Name |
Description |
System.Object |
dragItem |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected ContextMenuStrip ContextMenuNeeded()
Returns
Type |
Description |
System.Windows.Forms.ContextMenuStrip |
|
Declaration
protected virtual ContextMenuStrip CreateContextMenu()
Returns
Type |
Description |
System.Windows.Forms.ContextMenuStrip |
|
DrawSizingLine(Graphics)
Declaration
protected virtual void DrawSizingLine(Graphics g)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
Declaration
protected object GetDragObject(DragEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
e |
|
Returns
Type |
Description |
System.Object |
|
HandleContextPopup(Point)
Declaration
protected virtual bool HandleContextPopup(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
Description |
System.Boolean |
|
InvalidateSizingLine(SizingInfo)
Declaration
public virtual void InvalidateSizingLine(SizingInfo info)
Parameters
MoveDrag(Boolean, Point)
Declaration
protected virtual void MoveDrag(bool accepted, Point location)
Parameters
Type |
Name |
Description |
System.Boolean |
accepted |
|
System.Drawing.Point |
location |
|
MoveSizing(SizingInfo)
Declaration
public virtual void MoveSizing(SizingInfo info)
Parameters
Declaration
protected override void OnDragDrop(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Overrides
System.Windows.Forms.Control.OnDragDrop(System.Windows.Forms.DragEventArgs)
OnDragLeave(EventArgs)
Declaration
protected override void OnDragLeave(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnDragLeave(System.EventArgs)
Declaration
protected override void OnDragOver(DragEventArgs drgevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.DragEventArgs |
drgevent |
|
Overrides
System.Windows.Forms.Control.OnDragOver(System.Windows.Forms.DragEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnMouseMove(System.Windows.Forms.MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs)
Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
msg |
|
System.Windows.Forms.Keys |
keyData |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message, System.Windows.Forms.Keys)
StartSizing(SizingInfo)
Declaration
public virtual void StartSizing(SizingInfo info)
Parameters
StopSizing(SizingInfo)
Declaration
public virtual void StopSizing(SizingInfo info)
Parameters
UpdateSizingDrawInfo(SizingInfo)
Declaration
public virtual void UpdateSizingDrawInfo(SizingInfo info)
Parameters