|
|
MenuDropDown Class |
Namespace: Karamba.GHopper.Utilities.UIWidgets
The MenuDropDown type exposes the following members.
| Name | Description | |
|---|---|---|
| MenuDropDown | Initializes a new instance of the MenuDropDown class |
| Name | Description | |
|---|---|---|
| Bounds |
Widget's local space bounds.
(Inherited from GH_Attr_Widget.) | |
| CanvasBounds |
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.) | |
| CanvasPivot |
Get widget pivot in canvas space.
(Inherited from GH_Attr_Widget.) | |
| Desciption |
Get or set widget's description.
(Inherited from GH_Attr_Widget.) | |
| Enabled |
Get or set widget's state.
(Inherited from GH_Attr_Widget.) | |
| Header |
Get or set widget's header.
(Inherited from GH_Attr_Widget.) | |
| Height |
Get or set widget's height.
(Inherited from GH_Attr_Widget.) | |
| Index |
Get widget's index.
(Inherited from GH_Attr_Widget.) | |
| Items |
Get drop down items.
| |
| LastValidValue |
Load valid value.
| |
| Name |
Get or set widget's name.
(Inherited from GH_Attr_Widget.) | |
| Palette |
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.) | |
| Parent |
Get or set widget's parent.
(Inherited from GH_Attr_Widget.) | |
| ShowToolTip |
Set tool tip visibility.
(Inherited from GH_Attr_Widget.) | |
| Style |
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.) | |
| TopCollection |
Get menu collection, the widget belongs to.
(Inherited from GH_Attr_Widget.) | |
| Transform |
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.) | |
| Value |
Get or set index of currently selected item.
| |
| VisibleItemCount |
Number of visible items in window.
| |
| Width |
Get or set widget's width.
(Inherited from GH_Attr_Widget.) |
| Name | Description | |
|---|---|---|
| AddItem(String, String) |
Add drop down item.
| |
| AddItem(String, String, Object) |
Add drop down item with attached user data.
| |
| Clear |
Clear drop down menu.
| |
| ComputeMinSize | (Overrides GH_Attr_WidgetComputeMinSize.) | |
| Contains | (Overrides GH_Attr_WidgetContains(PointF).) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindIndex |
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.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWidgetDescription | (Inherited from GH_Attr_Widget.) | |
| HideWindow |
Hide dropdown window.
| |
| IsTtipPoint |
Get widget at point. If no widget is in range of given point,
null is returned.
(Inherited from GH_Attr_Widget.) | |
| Layout | (Overrides GH_Attr_WidgetLayout.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnRender |
Render widget to canvas.
(Inherited from GH_Attr_Widget.) | |
| PostUpdateBounds | (Overrides GH_Attr_WidgetPostUpdateBounds(Single).) | |
| Read | (Overrides GH_Attr_WidgetRead(GH_IReader).) | |
| Render | (Overrides GH_Attr_WidgetRender(WidgetRenderArgs).) | |
| RespondToKeyDown | (Inherited from GH_Attr_Widget.) | |
| RespondToMouseDoubleClick | (Inherited from GH_Attr_Widget.) | |
| RespondToMouseDown | (Overrides GH_Attr_WidgetRespondToMouseDown(GH_Canvas, GH_CanvasMouseEvent).) | |
| RespondToMouseMove | (Overrides GH_Attr_WidgetRespondToMouseMove(GH_Canvas, GH_CanvasMouseEvent).) | |
| RespondToMouseUp | (Overrides GH_Attr_WidgetRespondToMouseUp(GH_Canvas, GH_CanvasMouseEvent).) | |
| ShowWindow |
Show drop down window.
| |
| TooltipSetup |
Setup widget's tool tip.
(Inherited from GH_Attr_Widget.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateBounds |
Update widget bounds.
(Inherited from GH_Attr_Widget.) | |
| Write | (Overrides GH_Attr_WidgetWrite(GH_IWriter).) |
| Name | Description | |
|---|---|---|
| ValueChanged |
Occurs when value has changed.
|
| Name | Description | |
|---|---|---|
| _description |
Widget description.
(Inherited from GH_Attr_Widget.) | |
| _enabled |
True if the widget is enabled.
(Inherited from GH_Attr_Widget.) | |
| _header |
Widget description header.
(Inherited from GH_Attr_Widget.) | |
| _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.) | |
| _name |
Widget name.
(Inherited from GH_Attr_Widget.) | |
| _showToolTip |
True if the widget has a tool tip and it should be shown when
requested.
(Inherited from GH_Attr_Widget.) | |
| bounds |
Widget's local space bounds.
(Inherited from GH_Attr_Widget.) | |
| canvasBounds |
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.) | |
| expanded |
Flag that indicates whether the drop down menu is expanded.
| |
| palette |
The palette.
(Inherited from GH_Attr_Widget.) | |
| parent |
The parent widget.
If null, this widget is not nested.
(Inherited from GH_Attr_Widget.) | |
| style |
Widget palette style.
(Inherited from GH_Attr_Widget.) | |
| transfromation |
Widget transformation.
(Inherited from GH_Attr_Widget.) |