52 lines
860 B
C#
52 lines
860 B
C#
![]() |
using System;
|
|||
|
using CPF.Drawing;
|
|||
|
using CPF.ReoGrid.Events;
|
|||
|
using CPF.ReoGrid.Interaction;
|
|||
|
using CPF.ReoGrid.Rendering;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.CellTypes
|
|||
|
{
|
|||
|
public interface ICellBody
|
|||
|
{
|
|||
|
void OnSetup(Cell cell);
|
|||
|
|
|||
|
Rect Bounds { get; set; }
|
|||
|
|
|||
|
void OnBoundsChanged();
|
|||
|
|
|||
|
bool AutoCaptureMouse();
|
|||
|
|
|||
|
bool OnMouseDown(CellMouseEventArgs e);
|
|||
|
|
|||
|
bool OnMouseMove(CellMouseEventArgs e);
|
|||
|
|
|||
|
bool OnMouseUp(CellMouseEventArgs e);
|
|||
|
|
|||
|
bool OnMouseEnter(CellMouseEventArgs e);
|
|||
|
|
|||
|
bool OnMouseLeave(CellMouseEventArgs e);
|
|||
|
|
|||
|
void OnMouseWheel(CellMouseEventArgs e);
|
|||
|
|
|||
|
bool OnKeyDown(KeyCode e);
|
|||
|
|
|||
|
bool OnKeyUp(KeyCode e);
|
|||
|
|
|||
|
void OnPaint(CellDrawingContext dc);
|
|||
|
|
|||
|
bool OnStartEdit();
|
|||
|
|
|||
|
bool DisableWhenCellReadonly { get; }
|
|||
|
|
|||
|
object OnEndEdit(object data);
|
|||
|
|
|||
|
void OnGotFocus();
|
|||
|
|
|||
|
void OnLostFocus();
|
|||
|
|
|||
|
object OnSetData(object data);
|
|||
|
|
|||
|
ICellBody Clone();
|
|||
|
}
|
|||
|
}
|