This documentation is archived and is not being maintained.

ToolboxCategory Class

A collection of toolbox items that have been categorized.

System::Object
  System.Activities.Presentation.Toolbox::ToolboxCategory

Namespace:  System.Activities.Presentation.Toolbox
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public ref class ToolboxCategory sealed : INotifyPropertyChanged, 
	IList, ICollection, IEnumerable

The ToolboxCategory type exposes the following members.

  NameDescription
Public methodToolboxCategory()Creates an instance of the ToolboxCategory class.
Public methodToolboxCategory(String)Creates an instance of the ToolboxCategory class with a specified name.
Top

  NameDescription
Public propertyCategoryNameGets or sets the name of the toolbox category.
Public propertyItemGets or sets the tool at the specified index.
Public propertyToolsGets the tools in the ToolboxCategory.
Top

  NameDescription
Public methodAddAdds a specified tool to the end of the toolbox category collection.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the first occurrence of a specified tool from the toolbox category collection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes.
Top

  NameDescription
Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollection::CopyToCopies the entire ToolboxCategory collection to a compatible one-dimensional Array, starting at the specified index of the target Array.
Explicit interface implemetationPrivate propertyICollection::CountGets the number of tools contained in the ToolboxCategory.
Explicit interface implemetationPrivate propertyICollection::IsSynchronizedGets a value that indicates whether access to the ToolboxCategory is synchronized (thread safe).
Explicit interface implemetationPrivate propertyICollection::SyncRootGets an object that can be used to synchronize access to the ToolboxCategory.
Explicit interface implemetationPrivate methodIEnumerable::GetEnumeratorReturns an enumerator that iterates through the ToolboxCategory collection.
Explicit interface implemetationPrivate methodIList::AddAdds a tool to the ToolboxCategory.
Explicit interface implemetationPrivate methodIList::ClearRemoves all the tools from the ToolboxCategory.
Explicit interface implemetationPrivate methodIList::ContainsDetermines whether the ToolboxCategory contains a specific tool.
Explicit interface implemetationPrivate methodIList::IndexOfDetermines the index of a specific tool in the ToolboxCategory.
Explicit interface implemetationPrivate methodIList::InsertInserts a tool into the ToolboxCategory at the specified index.
Explicit interface implemetationPrivate propertyIList::IsFixedSizeGets a value that indicates whether the ToolboxCategory has a fixed size.
Explicit interface implemetationPrivate propertyIList::IsReadOnlyGets a value that indicates whether the ToolboxCategory is read-only.
Explicit interface implemetationPrivate propertyIList::ItemGets or sets the tool at the specified index.
Explicit interface implemetationPrivate methodIList::RemoveRemoves the first occurrence of a specific tool from the ToolboxCategory.
Explicit interface implemetationPrivate methodIList::RemoveAtRemoves the tool at the specified index of the ToolboxCategory collection.
Top

The ToolboxCategory collection contains items of type ToolboxItemWrapper that are added and removed from an instance of the collection using the Add(ToolboxItemWrapper) and Remove(ToolboxItemWrapper) methods.

The ToolboxCategory class implements the INotifyPropertyChanged interface. This allows the collection that is storing the toolbox items to provide notifications when properties like the CategoryName property are changed and methods like Add(ToolboxItemWrapper) and Remove(ToolboxItemWrapper) are used to change the contents of the collection.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: