CPF/CPF.ReoGrid/Views/IViewport.cs
2024-06-24 10:15:59 +08:00

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; }
}
}