Share via


WorkItemResultGrid Class

This class uses a DataGridView to display a WorkItemCollection from a ResultOptions object.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)

Syntax

'Declaration
Public Class WorkItemResultGrid _
    Inherits DataGridView
'Usage
Dim instance As WorkItemResultGrid
public class WorkItemResultGrid : DataGridView
public ref class WorkItemResultGrid : public DataGridView
public class WorkItemResultGrid extends DataGridView

Remarks

This class provides a simple interface to display work items. Given a WorkItemCollection and a ResultOptions object, or a WorkItemStore and a WIQL statement, the grid will display the contents of a WorkItemCollection. Columns can be added by using Columns.Add and by implementing the events CellValueNeeded and CellValuePushed.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.DataGridView
          Microsoft.TeamFoundation.WorkItemTracking.Controls.WorkItemResultGrid

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WorkItemResultGrid Members

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace