Table of Contents

Class DropDownContainer

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

A custom drop-down that can contain arbitrary controls instead of just a menu.

public class DropDownContainer : UserControl
Inheritance
object
MarshalByRefObject
Component
Control
ScrollableControl
ContainerControl
UserControl
DropDownContainer
Extension Methods

Constructors

DropDownContainer()

public DropDownContainer()

Methods

Close()

Closes the drop down.

public void Close()

ProcessDialogKey(Keys)

Processes a dialog key.

protected override bool ProcessDialogKey(Keys keyData)

Parameters

keyData Keys

One of the System.Windows.Forms.Keys values that represents the key to process.

Returns

bool

true if the key was processed by the control; otherwise, false.

Show(Control)

Shows the drop-down below the specified control.

public void Show(Control control)

Parameters

control Control