ContextItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a base class from which all context items must derive. This class is abstract.
public ref class ContextItem abstract
public abstract class ContextItem
type ContextItem = class
Public MustInherit Class ContextItem
- Inheritance
-
ContextItem
- Derived
Remarks
A context item represents a piece of transient state in a designer. Context items are managed by a ContextItemManager, which is part of the EditingContext employed by a WorkflowDesigner when representing the workflow model visually. The ContextItemManager is returned by the Items property which contains the data that is shared between a host and the designer. This data provides the mechanism needed to hook into subscription and change notification.
Constructors
ContextItem() |
Initiates a new instance of the ContextItem class. |
Properties
ItemType |
When implemented in a derived class, gets the type of item derived from the editing context class. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnItemChanged(EditingContext, ContextItem) |
Represents a method that is called on the context item before it is stored in the context item manager. The previous item in the context item manager is passed as a parameter. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |