TaskListView Class

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

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[ToolboxBitmapAttribute(typeof(TaskEditDialog), "TaskControl")]
public class TaskListView : UserControl
Inheritance
Object    MarshalByRefObject    Component    Control    ScrollableControl    ContainerControl    UserControl    TaskListView

Constructors

TaskListView Initializes a new instance of the TaskListView class.

Properties

ContainerGets the IContainer that contains the Component.
(Inherited from Component)
ContextMenuStrip Gets or sets the ContextMenuStrip associated with this control.
(Overrides ControlContextMenuStrip)
DesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
EventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
Folder Gets or sets the folder from which to display the tasks.
SelectedIndex Gets or sets the zero-based index of the currently selected item in a TaskListView.
Tasks 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.

Methods

CreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
DisposeReleases all resources used by the Component.
(Inherited from Component)
Dispose(Boolean) Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetItemAt Retrieves the item at the specified location.
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
OnHandleCreated Raises the HandleCreated event.
(Overrides ControlOnHandleCreated(EventArgs))
OnHandleDestroyed Raises the HandleDestroyed event.
(Overrides ControlOnHandleDestroyed(EventArgs))
OnTaskSelected Raises the TaskSelected event.
ToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)

Events

DisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
TaskSelected Occurs when task selected in the list.

See Also