[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.SheetCollection

SheetCollection Class

Class that managers the list of Sheet items associated with a grid and provides methods for adding, removing, deleting, and renaming sheets.

Inheritance
SheetCollection
Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexSheet.4.6.2.dll
Syntax
public class SheetCollection : ObservableCollection<Sheet>, IList<Sheet>, ICollection<Sheet>, IList, ICollection, IReadOnlyList<Sheet>, IReadOnlyCollection<Sheet>, IEnumerable<Sheet>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Properties

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.

Methods

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.