Available Control Types for Work Item fields

Hi Guys!

Where can I find list of available Control Types for Work Item Forms? In samples there are FieldControl, HTMLFieldControl, LinksControl, AttachmentsControl, WorkItemLogControl, ExtendedComboBox.

Are there any more?
What about checkbox, label?
Is there some kind of SimpleComboBox in contrast to ExtendedComboBox?

Can anybody clarify?

Thanks,
Leon

[377 byte] By [LeonLangleyben] at [2007-12-16]
# 1

to my knowledge only the following controls are available:
-FieldControl
-TFStructureControl
-WorkItemLogControl
-LinksControl
-AttachmentsControl
These are documented in the document "Authoring Work Item Types.doc" that can be found in the extensibility kit. You can download this kit from the following location: http://www.vsipdev.com/downloads/

MarceldeVries at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
Hi Marcel,
Thanks for reply, but strictly speaking control types are not documented in "Authoring Work Item Types.doc". In your list you miss at least two types (HTMLFieldControl and ExtendedComboControl) which are not mentioned, so may be there are more.
May be somebody of MS guys could share internal wisdom? Smile

Thanks in advance!

LeonLangleyben at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3

Below is the complete list of controls:

ExtendedComboBox
FieldControl
DateTimeControl
HtmlFieldControl
LinksControl
AttachmentsControl
TFStructureControl
WorkItemLogControl

Some control names are being changed. Leon, there isn't a simpleComboBox, but ExtendedComboBox should able to do all that SimpleComboBox can do.

Naren

NarenDatha at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4
Hi Naren,
Thanks a lot!

I was really joking about SimpleComboBox, but what is the difference between ExtendedComboBox and FieldControl with list of ALLOWEDVALUES ?

Thanks again,
Leon

LeonLangleyben at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
Leon, thanks for noticing it. Actually we are renaming ExtendedComboBox to FieldControl, but still have it just for backward compatiblity. So both are the same and ExtendedComboBox is being obsoleted.

Thanks.

NarenDatha at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6
Hi Naren,

If I understand the Authoring Work Item Types document properly, could you not add your own custom controls by adding elements inside of the ControlTypes element. The document defines ControlTypes as:

ControlTypes

This element must contain one ControlType element for each custom control that is referenced in the Layout section of the form.


This could be used in conjuction with Target of different type other than WinForms to define fields that might not conform to a straight import into TFS. By defining your control type with a proper assembly.control reference, you should be able to put anything into these fields. Am I going down the wrong track? Please explain.

Just for completeness, here is the ControlType explaination from the document:

ControlType

References an external assembly and control within that assembly. Control elements in the Layout that specify a Type attribute must have a corresponding ControlType in the ControlTypes section.

Thanks,
David Maynard

DavidMaynard at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 7
Hi David,

Unfortunately this feature was cut just after documentation. For version 1, we support only built in types in my response above. We might add this feature in future versions.

Thanks
Naren

NarenDatha at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified