Udostępnij za pośrednictwem


ContextItemManager Members

Include Protected Members
Include Inherited Members

Maintains a set of context items.

The ContextItemManager type exposes the following members.

Constructors

 

Name

Description

Protected method

ContextItemManager

Initializes a new instance of the ContextItemManager class.

Top

Methods

 

Name

Description

Public method

Contains

Overloaded. Returns a value indicating whether the context item manager contains an item of the specified type.

Public method

Equals

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

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetEnumerator

When overridden in a derived class, gets an enumeration of context items in the editing context.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected methodStatic member

GetTarget

A utility method that returns the target object for a delegate.

Public method

GetType

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

Public method

GetValue

Overloaded. Returns an instance of the requested item type.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected methodStatic member

NotifyItemChanged

Invokes the protected OnItemChanged method on the specified ContextItem.

Protected methodStatic member

RemoveCallback

A helper method that performs a Delegate.Remove, but knows how to unwrap delegates that are proxies to generic callbacks.

Public method

SetValue

When overridden in a derived class, sets a context item to the specified value.

Public method

Subscribe

Overloaded. Adds a callback that is invoked when a context item changes.

Public method

ToString

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

Public method

Unsubscribe

Overloaded. Removes a subscription.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IEnumerable.GetEnumerator

For a description of this member, see IEnumerable.GetEnumerator.

Top

See Also

Reference

ContextItemManager Class

Microsoft.Windows.Design Namespace