NanoByte.Common  2.6.1
NanoByte.Common.Controls.DropDownButton Class Reference

A Button with an additional drop-down menu. More...

Inheritance diagram for NanoByte.Common.Controls.DropDownButton:

Public Member Functions

override Size GetPreferredSize (Size proposedSize)
 
void ShowDropDownMenu ()
 

Protected Member Functions

override bool IsInputKey (Keys keyData)
 
override void OnGotFocus (EventArgs e)
 
override void OnKeyDown (KeyEventArgs kevent)
 
override void OnKeyUp (KeyEventArgs kevent)
 
override void OnEnabledChanged (EventArgs e)
 
override void OnLostFocus (EventArgs e)
 
override void OnMouseEnter (EventArgs e)
 
override void OnMouseLeave (EventArgs e)
 
override void OnMouseDown (MouseEventArgs e)
 
override void OnMouseUp (MouseEventArgs mevent)
 
override void OnPaint (PaintEventArgs pevent)
 
override void WndProc (ref Message m)
 

Properties

override? ContextMenuStrip ContextMenuStrip [get, set]
 
ContextMenuStrip? DropDownMenuStrip [get, set]
 
bool ShowSplit [get, set]
 Splits the button into a conventional "button" part and a "drop down" part rather than treating the entire button as a "drop down" button. More...
 

Detailed Description

A Button with an additional drop-down menu.

Property Documentation

◆ ShowSplit

bool NanoByte.Common.Controls.DropDownButton.ShowSplit
getset

Splits the button into a conventional "button" part and a "drop down" part rather than treating the entire button as a "drop down" button.


The documentation for this class was generated from the following file: