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
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsUserControl
              Microsoft.Win32.TaskSchedulerTaskListView

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.12.1
Syntax
C#
[ToolboxBitmapAttribute(typeof(TaskEditDialog), "TaskControl")]
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 propertyContainerGets the IContainer that contains the Component.
(Inherited from Component)
Public propertyContextMenuStrip Gets or sets the ContextMenuStrip associated with this control.
(Overrides ControlContextMenuStrip)
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Protected propertyEventsGets 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 methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDisposeReleases all resources used by the Component.
(Inherited from Component)
Protected methodDispose(Boolean) Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetItemAt Retrieves the item at the specified location.
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodMemberwiseCloneCreates 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 methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
Top
Events
 NameDescription
Public eventDisposedOccurs 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