Click or drag to resize
Task Scheduler Managed Class Library

TaskListView Class

Displays a TaskCollection in a ListView control. Mimics list in MMC.
Inheritance Hierarchy

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public class TaskListView : UserControl
Request Example View Source

The TaskListView type exposes the following members.

Constructors
  NameDescription
Public methodTaskListView
Initializes a new instance of the TaskListView class.
Top
Properties
  NameDescription
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyContextMenuStrip
Gets or sets the ContextMenuStrip associated with this control.
(Overrides ControlContextMenuStrip.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFolder
Gets or sets the folder from which to display the tasks.
Public propertySelectedIndex
Gets or sets the zero-based index of the currently selected item in a TaskListView.
Public propertyTasks
Gets or sets the tasks. When setting, be aware that if the collection is empty, the list will not be updated with newly added tasks. For a list view that is self-updating, this value must already contain tasks or use the Folder property.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetItemAt
Retrieves the item at the specified location.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnHandleCreated
Raises the HandleCreated event.
(Overrides ControlOnHandleCreated(EventArgs).)
Protected methodOnHandleDestroyed
Raises the HandleDestroyed event.
(Overrides ControlOnHandleDestroyed(EventArgs).)
Protected methodOnTaskSelected
Raises the TaskSelected event.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventTaskSelected
Occurs when task selected in the list.
Top
See Also