HypernovaDesktop Components · docs
Binarymission
WinFormsPower Tab Strip › BinaryPowerTabPageCollectionBase

BinaryPowerTabPageCollectionBase

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TabControls

Base collection class for BinaryPowerTabPageCollection. This class is designed to be used internally, so it is advised that external code does not directly work this class as-is.

public class BinaryPowerTabPageCollectionBase<BinaryPowerTabPage> : CollectionBase

Inherits from / implements: CollectionBase

Remarks

Use the BinaryPowerTabPageCollection if you need to programatticaly work with the tab pages collection.

Members at a glance

BinaryPowerTabPageCollectionBaseInitializes a new instance of the BinaryPowerTabPageCollectionBase<BinaryPowerTabPage> class.
IndexOfReturns the position of a page in the collection.
OnClearCalled before the collection is emptied.
OnClearCompleteCalled once the collection has been emptied.
OnInsertCalled before an item is inserted into the collection.
OnInsertCompleteCalled once an item has been inserted into the collection.
OnRemoveCalled before an item is removed from the collection.
OnRemoveCompleteCalled once an item has been removed from the collection.
ClearedRaised once the collection has been emptied.
ClearingRaised before the collection is emptied.
InsertedRaised once an item has been added to the collection.
InsertingRaised before an item is added to the collection.
RemovedRaised once an item has been taken out of the collection.
RemovingRaised before an item is taken out of the collection.

Constructors

BinaryPowerTabPageCollectionBase

public BinaryPowerTabPageCollectionBase()

Initializes a new instance of the BinaryPowerTabPageCollectionBase<BinaryPowerTabPage> class.

Methods

IndexOf

protected int IndexOf(object value)

Returns the position of a page in the collection.

value
The page to look for.

Returns. Its zero-based index, or -1 if it is not in the collection.

OnClear

protected override void OnClear()

Called before the collection is emptied.

OnClearComplete

protected override void OnClearComplete()

Called once the collection has been emptied.

OnInsert

protected override void OnInsert(int index, object value)

Called before an item is inserted into the collection.

OnInsertComplete

protected override void OnInsertComplete(int index, object value)

Called once an item has been inserted into the collection.

OnRemove

protected override void OnRemove(int index, object value)

Called before an item is removed from the collection.

OnRemoveComplete

protected override void OnRemoveComplete(int index, object value)

Called once an item has been removed from the collection.

Events

Cleared

public event TabPagesCollectionClearHandler Cleared

Raised once the collection has been emptied.

Clearing

public event TabPagesCollectionClearHandler Clearing

Raised before the collection is emptied.

Inserted

public event TabPagesCollectionChangeHandler Inserted

Raised once an item has been added to the collection.

Inserting

public event TabPagesCollectionChangeHandler Inserting

Raised before an item is added to the collection.

Removed

public event TabPagesCollectionChangeHandler Removed

Raised once an item has been taken out of the collection.

Removing

public event TabPagesCollectionChangeHandler Removing

Raised before an item is taken out of the collection.