CPF/CPF.ReoGrid/Views/IView.cs

48 lines
785 B
C#
Raw Normal View History

2024-06-24 10:15:59 +08:00
using System;
using System.Collections.Generic;
using CPF.Drawing;
using CPF.ReoGrid.Interaction;
using CPF.ReoGrid.Rendering;
namespace CPF.ReoGrid.Views
{
internal interface IView : IUserVisual
{
IViewportController ViewportController { get; set; }
Rect Bounds { get; set; }
float Left { get; }
float Top { get; }
float Width { get; }
float Height { get; }
float Right { get; }
float Bottom { get; }
void UpdateView();
float ScaleFactor { get; set; }
bool PerformTransform { get; set; }
void Draw(CellDrawingContext dc);
void DrawChildren(CellDrawingContext dc);
bool Visible { get; set; }
Point PointToView(Point p);
Point PointToController(Point p);
IView GetViewByPoint(Point p);
IList<IView> Children { get; set; }
}
}