BinaryPowerTabPageCollection
Collection class to help manage/work with the collection of the BinaryPowerTabPage elements hosted in the BinaryPowerTabStrip class.
public class BinaryPowerTabPageCollection : BinaryPowerTabPageCollectionBase<BinaryPowerTabPage>
Inherits from / implements: BinaryPowerTabPageCollectionBase<BinaryPowerTabPage>
Members at a glance
BinaryPowerTabPageCollection | Constructs a new instance of BinaryPTabPageCollection class. |
FirstVisibleTabPage | Gets the first visible tab page. |
Item | Gets or sets the BinaryPowerTabPage at the specified index. |
LastButOneVisibleTabPage | Gets the last but one visible tab page. |
LastVisibleTabPage | Gets the last visible tab page. |
TabPagesCurrentlyVisible | Gets the tab pages currently visible. |
Add | Adds the specified tab page item into the collection. |
AddRange | Adds a range of tab pages into the collection. |
Assign | Assigns the specified collection into the collection. Intended for internal use. |
BeginUpdate | Suspends change notifications while a run of additions or removals is made. Every call must be matched by a call to EndUpdate. |
Contains | Determines whether the collection contains the specified tab page. |
EndUpdate | Resumes change notifications suspended by BeginUpdate and, once the last one is matched, raises a single refresh for the whole run. |
IndexOf | Returns the index position of the given tab page item. |
Insert | Inserts the specified tab page into the specified index position. |
MoveTo | Moves the specified tab page item into the new index location. |
OnClear | Called before the collection is emptied. |
OnCollectionChanged | Raises the CollectionChanged event. |
OnInsertComplete | Called once an item has been inserted into the collection. |
OnRemove | Called before an item is removed from the collection. |
OnTabPageChanged | Forwards a change made on an individual page as a refresh of the whole collection, so the strip redraws when one of its pages changes underneath it. |
Remove | Removes the specified tab page item from the collection. |
CollectionChanged | Occurs when the collection changes. |
Constructors
BinaryPowerTabPageCollection
Constructs a new instance of BinaryPTabPageCollection class.
Properties
FirstVisibleTabPage
Gets the first visible tab page.
Value. The first visible tab page.
Item
Gets or sets the BinaryPowerTabPage at the specified index.
LastButOneVisibleTabPage
Gets the last but one visible tab page.
Value. The last but one visible tab page.
LastVisibleTabPage
Gets the last visible tab page.
Value. The last visible tab page.
TabPagesCurrentlyVisible
Gets the tab pages currently visible.
Value. The tab pages currently visible.
Methods
Add
Adds the specified tab page item into the collection.
AddRange
Adds a range of tab pages into the collection.
Assign
Assigns the specified collection into the collection. Intended for internal use.
BeginUpdate
Suspends change notifications while a run of additions or removals is made. Every call must be matched by a call to EndUpdate.
Contains
Determines whether the collection contains the specified tab page.
EndUpdate
Resumes change notifications suspended by BeginUpdate and, once the last one is matched, raises a single refresh for the whole run.
IndexOf
Returns the index position of the given tab page item.
Insert
Inserts the specified tab page into the specified index position.
MoveTo
Moves the specified tab page item into the new index location.
OnClear
Called before the collection is emptied.
OnCollectionChanged
Raises the CollectionChanged event.
- e
- The data for the event.
OnInsertComplete
Called once an item has been inserted into the collection.
OnRemove
Called before an item is removed from the collection.
OnTabPageChanged
Forwards a change made on an individual page as a refresh of the whole collection, so the strip redraws when one of its pages changes underneath it.
- sender
- The page that changed.
- e
- Not used.
Remove
Removes the specified tab page item from the collection.
- tabPageItem
- The tabPageItem.
Events
CollectionChanged
Occurs when the collection changes.