Share via


Task Members

Include Protected Members
Include Inherited Members

Represents a collection of commands and input bindings to those commands.

The Task type exposes the following members.

Constructors

 

Name

Description

Public method

Task

Initializes a new instance of the Task class.

Top

Methods

 

Name

Description

Public method

BeginFocus

Begins to set the focus for the task.

Public method

Complete

Completes changes that were made while this task has the focus.

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

GetHashCode

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

Public method

GetType

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

Protected method

MemberwiseClone

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

Protected method

OnCompleted

Raises the Completed event.

Protected method

OnFocusDeactivated

Raises the FocusDeactivated event.

Protected method

OnReverted

Raises the Reverted event.

Public method

Revert

Reverts this task.

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

AdornerFilter

Gets or sets the filter that is used to filter the set of adorners seen by the designer's hit test algorithm.

Public property

CommandBindings

Gets the CommandBindingCollection for a task.

Public property

Cursor

Gets or sets the cursor for a task.

Public property

Description

Gets or sets the description for this task.

Public property

InputBindings

Gets the InputBindingCollection for a task.

Public property

IsFocused

Gets a value indicating whether this task has the focus.

Public property

ModelFilter

Gets or sets the filter that is used to filter the set of model items seen by the designer's hit test algorithm.

Public property

ToolCommandBindings

Gets the ToolCommandBindingCollection for a task.

Top

Events

 

Name

Description

Public event

Completed

Occurs when this task has completed.

Public event

FocusDeactivated

Occurs when focus for this task is deactivated.

Public event

Reverted

Occurs when this task is reverted.

Top

See Also

Reference

Task Class

Microsoft.Windows.Design.Interaction Namespace