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
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 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