ToolboxCategory Class

.NET Framework (current version)
 

A collection of toolbox items that have been categorized.

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

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

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

NameDescription
System_CAPS_pubmethodToolboxCategory()

Creates an instance of the ToolboxCategory class.

System_CAPS_pubmethodToolboxCategory(String)

Creates an instance of the ToolboxCategory class with a specified name.

NameDescription
System_CAPS_pubpropertyCategoryName

Gets or sets the name of the toolbox category.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the tool at the specified index.

System_CAPS_pubpropertyTools

Gets the tools in the ToolboxCategory.

NameDescription
System_CAPS_pubmethodAdd(ToolboxItemWrapper)

Adds a specified tool to the end of the toolbox category collection.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRemove(ToolboxItemWrapper)

Removes the first occurrence of a specified tool from the toolbox category collection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when a property value changes.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the entire ToolboxCategory collection to a compatible one-dimensional Array, starting at the specified index of the target Array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the ToolboxCategory collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds a tool to the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all the tools from the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether the ToolboxCategory contains a specific tool.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific tool in the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts a tool into the ToolboxCategory at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specific tool from the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the tool at the specified index of the ToolboxCategory collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.Count

Gets the number of tools contained in the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

Gets a value that indicates whether access to the ToolboxCategory is synchronized (thread safe).

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets an object that can be used to synchronize access to the ToolboxCategory.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsFixedSize

Gets a value that indicates whether the ToolboxCategory has a fixed size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsReadOnly

Gets a value that indicates whether the ToolboxCategory is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

Gets or sets the tool at the specified index.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

The ToolboxCategory collection contains items of type ToolboxItemWrapper that are added and removed from an instance of the collection using the Add and Remove 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 and Remove are used to change the contents of the collection.

.NET Framework
Available since 4.0

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

Return to top
Show: