Click or drag to resize

MenuDropDown Class

Drop down menu.
Inheritance Hierarchy

Namespace:  Karamba.GHopper.Utilities.UIWidgets
Assembly:  karambaGH (in karambaGH.dll) Version: 1.15.0.0 (1.15.0.0)
Syntax
public class MenuDropDown : GH_Attr_Widget

The MenuDropDown type exposes the following members.

Constructors
  NameDescription
Public methodMenuDropDown
Initializes a new instance of the MenuDropDown class
Top
Properties
  NameDescription
Public propertyBounds
Widget's local space bounds.
(Inherited from GH_Attr_Widget.)
Public propertyCanvasBounds
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.)
Public propertyCanvasPivot
Get widget pivot in canvas space.
(Inherited from GH_Attr_Widget.)
Public propertyDesciption
Get or set widget's description.
(Inherited from GH_Attr_Widget.)
Public propertyEnabled
Get or set widget's state.
(Inherited from GH_Attr_Widget.)
Public propertyHeader
Get or set widget's header.
(Inherited from GH_Attr_Widget.)
Public propertyHeight
Get or set widget's height.
(Inherited from GH_Attr_Widget.)
Public propertyIndex
Get widget's index.
(Inherited from GH_Attr_Widget.)
Public propertyItems
Get drop down items.
Public propertyLastValidValue
Load valid value.
Public propertyName
Get or set widget's name.
(Inherited from GH_Attr_Widget.)
Public propertyPalette
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.)
Public propertyParent
Get or set widget's parent.
(Inherited from GH_Attr_Widget.)
Public propertyShowToolTip
Set tool tip visibility.
(Inherited from GH_Attr_Widget.)
Public propertyStyle
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.)
Public propertyTopCollection
Get menu collection, the widget belongs to.
(Inherited from GH_Attr_Widget.)
Public propertyTransform
Widget's transformation. Is set by the parent of the widget. The widget itself should only read from this field.
(Inherited from GH_Attr_Widget.)
Public propertyValue
Get or set index of currently selected item.
Public propertyVisibleItemCount
Number of visible items in window.
Public propertyWidth
Get or set widget's width.
(Inherited from GH_Attr_Widget.)
Top
Methods
  NameDescription
Public methodAddItem(String, String)
Add drop down item.
Public methodAddItem(String, String, Object)
Add drop down item with attached user data.
Public methodClear
Clear drop down menu.
Public methodComputeMinSize (Overrides GH_Attr_WidgetComputeMinSize.)
Public methodContains (Overrides GH_Attr_WidgetContains(PointF).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindIndex
Find index of item with given name. If multiple items share the same name, the first item index is returned. If item could not be found, -1 is returned.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWidgetDescription (Inherited from GH_Attr_Widget.)
Public methodHideWindow
Hide dropdown window.
Public methodIsTtipPoint
Get widget at point. If no widget is in range of given point, null is returned.
(Inherited from GH_Attr_Widget.)
Public methodLayout (Overrides GH_Attr_WidgetLayout.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnRender
Render widget to canvas.
(Inherited from GH_Attr_Widget.)
Public methodPostUpdateBounds (Overrides GH_Attr_WidgetPostUpdateBounds(Single).)
Public methodRead (Overrides GH_Attr_WidgetRead(GH_IReader).)
Public methodRender (Overrides GH_Attr_WidgetRender(WidgetRenderArgs).)
Public methodRespondToKeyDown (Inherited from GH_Attr_Widget.)
Public methodRespondToMouseDoubleClick (Inherited from GH_Attr_Widget.)
Public methodRespondToMouseDown (Overrides GH_Attr_WidgetRespondToMouseDown(GH_Canvas, GH_CanvasMouseEvent).)
Public methodRespondToMouseMove (Overrides GH_Attr_WidgetRespondToMouseMove(GH_Canvas, GH_CanvasMouseEvent).)
Public methodRespondToMouseUp (Overrides GH_Attr_WidgetRespondToMouseUp(GH_Canvas, GH_CanvasMouseEvent).)
Public methodShowWindow
Show drop down window.
Public methodTooltipSetup
Setup widget's tool tip.
(Inherited from GH_Attr_Widget.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateBounds
Update widget bounds.
(Inherited from GH_Attr_Widget.)
Public methodWrite (Overrides GH_Attr_WidgetWrite(GH_IWriter).)
Top
Events
  NameDescription
Public eventValueChanged
Occurs when value has changed.
Top
Fields
  NameDescription
Protected field_description
Widget description.
(Inherited from GH_Attr_Widget.)
Protected field_enabled
True if the widget is enabled.
(Inherited from GH_Attr_Widget.)
Protected field_header
Widget description header.
(Inherited from GH_Attr_Widget.)
Protected field_index
Local widget index. Used to identify the widget within its local group. ??? what is the index actually used for?
(Inherited from GH_Attr_Widget.)
Protected field_name
Widget name.
(Inherited from GH_Attr_Widget.)
Protected field_showToolTip
True if the widget has a tool tip and it should be shown when requested.
(Inherited from GH_Attr_Widget.)
Protected fieldbounds
Widget's local space bounds.
(Inherited from GH_Attr_Widget.)
Protected fieldcanvasBounds
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.)
Public fieldexpanded
Flag that indicates whether the drop down menu is expanded.
Protected fieldpalette
The palette.
(Inherited from GH_Attr_Widget.)
Protected fieldparent
The parent widget. If null, this widget is not nested.
(Inherited from GH_Attr_Widget.)
Protected fieldstyle
Widget palette style.
(Inherited from GH_Attr_Widget.)
Protected fieldtransfromation
Widget transformation.
(Inherited from GH_Attr_Widget.)
Top
See Also