33 lines
565 B
C#
33 lines
565 B
C#
![]() |
using System;
|
|||
|
using CPF.Drawing;
|
|||
|
using CPF.ReoGrid.Interaction;
|
|||
|
using CPF.ReoGrid.Main;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Views
|
|||
|
{
|
|||
|
internal interface IViewport : IView, IUserVisual
|
|||
|
{
|
|||
|
Point ViewStart { get; set; }
|
|||
|
|
|||
|
float ViewTop { get; }
|
|||
|
|
|||
|
float ViewLeft { get; }
|
|||
|
|
|||
|
float ScrollX { get; set; }
|
|||
|
|
|||
|
float ScrollY { get; set; }
|
|||
|
|
|||
|
float ScrollViewTop { get; }
|
|||
|
|
|||
|
float ScrollViewLeft { get; }
|
|||
|
|
|||
|
ScrollDirection ScrollableDirections { get; set; }
|
|||
|
|
|||
|
void Scroll(float offX, float offY);
|
|||
|
|
|||
|
void ScrollTo(float x, float y);
|
|||
|
|
|||
|
GridRegion VisibleRegion { get; set; }
|
|||
|
}
|
|||
|
}
|