HeaderPane
Main
Hide
Share Link
Print

SftTaskDialogButtonCollection Class

A collection of the buttons of a task dialog page.

A button can be in one collection only, and a collection cannot hold the same button, or the same standard button, twice. The collection cannot be changed while its page is shown.

Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET

Inheritance

Syntax

public class SftTaskDialogButtonCollection : System.Collections.ObjectModel.Collection`1;
Public Class SftTaskDialogButtonCollection
    Inherits System.Collections.ObjectModel.Collection`1

Constructors

PublicSftTaskDialogButtonCollectionInitializes a new instance of the SftTaskDialogButtonCollection class.

Properties

PublicInherited from System.Collections.ObjectModel.Collection`1CountGets the number of elements actually contained in the Collection.
PublicInherited from System.Collections.ObjectModel.Collection`1ItemGets or sets the element at the specified index.
ProtectedInherited from System.Collections.ObjectModel.Collection`1ItemsGets a IList wrapper around the Collection.

Methods

PublicAddAdds a new button with the specified text.
PublicInherited from System.Collections.ObjectModel.Collection`1ClearRemoves all elements from the Collection.
ProtectedClearItemsRemoves all buttons from the collection.
PublicInherited from System.Collections.ObjectModel.Collection`1ContainsDetermines whether an element is in the Collection.
PublicInherited from System.Collections.ObjectModel.Collection`1CopyToCopies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.Collections.ObjectModel.Collection`1GetEnumeratorReturns an enumerator that iterates through the Collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from System.Collections.ObjectModel.Collection`1IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection.
PublicInherited from System.Collections.ObjectModel.Collection`1InsertInserts an element into the Collection at the specified index.
ProtectedInsertItemInserts a button into the collection at the specified index.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.Collections.ObjectModel.Collection`1RemoveRemoves the first occurrence of a specific object from the Collection.
PublicInherited from System.Collections.ObjectModel.Collection`1RemoveAtRemoves the element at the specified index of the Collection.
ProtectedRemoveItemRemoves the button at the specified index.
ProtectedSetItemReplaces the button at the specified index.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also Classes | SftStyle/NET 3.0