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!

IWinFormsEditorService.DropDownControl

Displays the provided control in a <span id="frameworks:drop_down" class ="gp">drop down</span>.

[Visual Basic]
Sub DropDownControl( _
   ByVal control As Control _
)
[C#]
void DropDownControl(
   Control control
);
[C++]
void DropDownControl(
   Control* control
) = 0;
[JScript]
function DropDownControl(
   control : Control
);

Parameters

control
The Control to display in a drop down.

Remarks

When possible, the current dimensions of the control are respected. If this is not possible for the current screen layout, the control may be resized. The control should be implemented using appropriate docking and anchoring so it will resize nicely. If the user performs an action that causes the drop down to prematurely disappear, the control is hidden.

See Also

IWinFormsEditorService Interface | IWinFormsEditorService Members | System.WinForms.Design Namespace