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

43 lines
741 B
C#

using System;
using CPF.Drawing;
using CPF.ReoGrid.Interaction;
using CPF.ReoGrid.Rendering;
namespace CPF.ReoGrid.Main
{
internal interface ICompViewAdapter : IMultisheetAdapter
{
IVisualWorkbook ControlInstance { get; }
IRenderer Renderer { get; }
ControlAppearanceStyle ControlStyle { get; }
float BaseScale { get; }
float MinScale { get; }
float MaxScale { get; }
void ChangeCursor(CursorStyle cursor);
void RestoreCursor();
void ChangeSelectionCursor(CursorStyle cursor);
Rect GetContainerBounds();
void Focus();
void Invalidate();
void ChangeBackgroundColor(Color color);
bool IsVisible { get; }
Point PointToScreen(Point point);
void ShowTooltip(Point point, string content);
}
}