[]
Class that managers the list of Sheet items associated with a grid and provides methods for adding, removing, deleting, and renaming sheets.
public class SheetCollection : ObservableCollection<Sheet>, IList<Sheet>, ICollection<Sheet>, IList, ICollection, IReadOnlyList<Sheet>, IReadOnlyCollection<Sheet>, IEnumerable<Sheet>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
| Name | Description |
|---|---|
| this[string] | Retrieves a sheet by name. |
| SelectedIndex | Gets or sets the index of the currently selected sheet in the collection. |
| SelectedSheet | Gets or sets the currently selected sheet. |
| Name | Description |
|---|---|
| Contains(string) | Determines whether the collection contains a sheet with a given name. |
| DeleteSheet() | Deletes the current sheet. |
| HideSheet() | Hides the current sheet from view. |
| IndexOf(string) | Gets the index of the sheet with a given name. |
| InsertSheet(bool) | Inserts a new sheet at the currently selected position or appends it to the collection. |
| OnCollectionChanged(NotifyCollectionChangedEventArgs) | Synchronize tabs control with this collection. |
| RenameSheet() | Puts the current sheet in edit mode so the user can rename it. |
| SelectFirst() | Selects the first visible sheet. |
| SelectLast() | Selects the last visible sheet. |
| SelectNext() | Selects the next visible sheet. |
| SelectPrev() | Selects the previous visible sheet. |
| UnhideSheets() | Unhides all hidden sheets. |