39 lines
723 B
C#
39 lines
723 B
C#
using System;
|
|
using CPF.Drawing;
|
|
|
|
namespace CPF.ReoGrid.Main
|
|
{
|
|
internal interface ISheetTabControl
|
|
{
|
|
int SelectedIndex { get; set; }
|
|
|
|
event EventHandler SelectedIndexChanged;
|
|
|
|
event EventHandler SplitterMoving;
|
|
|
|
event EventHandler SheetListClick;
|
|
|
|
event EventHandler NewSheetClick;
|
|
|
|
event EventHandler<SheetTabMouseEventArgs> TabMouseDown;
|
|
|
|
void ScrollToItem(int index);
|
|
|
|
float ControlWidth { get; set; }
|
|
|
|
void AddTab(string title);
|
|
|
|
void InsertTab(int index, string title);
|
|
|
|
void UpdateTab(int index, string title, Color backgroundColor, Color foregroundColor);
|
|
|
|
void RemoveTab(int index);
|
|
|
|
void ClearTabs();
|
|
|
|
bool AllowDragToMove { get; set; }
|
|
|
|
bool NewButtonVisible { get; set; }
|
|
}
|
|
}
|