NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UICreationHelper.CreateLabeledControl

Creates pair of controls, Label with Text = labelText and IComponent of type componentType Locates them in one raw in order (label, component) Except the case: componentType == typeof(CheckBox) in this case one CheckBox control created with the Text property set to labelText.

[Visual Basic]
Public Function CreateLabeledControl( _
   ByVal controlType As Type, _
   ByVal labelText As String, _
   ByVal controlName As String _
) As Control
[C#]
public Control CreateLabeledControl(
   Type controlType,
   string labelText,
   string controlName
);
[C++]
public: Control* CreateLabeledControl(
   Type* controlType,
   String* labelText,
   String* controlName
);
[JScript]
public function CreateLabeledControl(
   controlType : Type,
   labelText : String,
   controlName : String
) : Control;

Parameters

controlType
[To be supplied.]
labelText
[To be supplied.]
controlName
[To be supplied.]

See Also

UICreationHelper Class | UICreationHelper Members | System.Data.Design Namespace