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