IWorkItemControl Interface

This interface covers the minimal definition of a work item tracking control.

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

public interface IWorkItemControl

The IWorkItemControl type exposes the following members.

  NameDescription
Public propertyPropertiesGets or sets the custom properties that can be used to initialize control state
Public propertyReadOnlyGets or sets a value indicating whether this control is read only or not.
Public propertyWorkItemDatasourceGets or sets the work item data source bound to this control.
Public propertyWorkItemFieldNameThe name of the field to be modified by the control.
Top

  NameDescription
Public methodClearClears the current value of the control.
Public methodFlushToDatasourceFlushes the current control value to the data source (bound field).
Public methodInvalidateDatasourceInvalidates the data source used by this control, which causes the control to reset its state based on the current field binding.
Public methodSetSiteAllows platform to provide ServiceProvider implementation to control.
Top

  NameDescription
Public eventAfterUpdateDatasourceThis event is signaled by control implementations preceeded by BeforeUpdateDatasource to avoid invalidation notifications stemming from changes performed by the control itself.
Public eventBeforeUpdateDatasourceThis event is signaled by control implementations when updating Data Source followed by a signal to AfterUpdateDatasource to avoid invalidation notifications stemming from changes performed by the control itself.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft