public WindowToken(WindowId id, bool isActive, bool isVisible, WindowState state, SheetId activeSheetId) : base(id) { IsActive = isActive; IsVisible = isVisible; State = state; ActiveSheetId = activeSheetId; }
public static Change SheetTabColor(SheetId id, Color?color) => new Change <SheetId, Color?>(ChangeType.SetSheetTabColor, id, color);
public static Change WindowVisibleSheet(WindowId id, SheetId sheetId) => new Change <WindowId, SheetId>(ChangeType.SetWindowVisibleSheet, id, sheetId);
public static Change SheetSetIndex(SheetId id, int index) => new Change <SheetId, int>(ChangeType.SetSheetIndex, id, index);