Grasshopper2.UI.Flexnamespace

Types

Grasshopper2.UI.Flex.IFlexControl
Base interface for Grasshopper UI controls. This interface defined functionality to be added to regular Control derived classes.
Grasshopper2.UI.Flex.IResponsive
Interface for objects that wish to participate in UI events inside IFlexControl instances.
Grasshopper2.UI.Flex.ContentPosition
Enumerates the possible positions content can have within an IControl.
Grasshopper2.UI.Flex.ContentResizeBehaviour
Enumerates the possible content navigation behaviours during control resize events.
Grasshopper2.UI.Flex.ControlBorder
Represents a border around an IControl.
Grasshopper2.UI.Flex.ControlDrawEventArgs
Arguments used in the IControl draw events.
Grasshopper2.UI.Flex.ControlGraphics
Provides several graphics states for drawing in different coordinate systems.
Grasshopper2.UI.Flex.CoordinateSystem
Enumerates the possible coordinate systems.
Grasshopper2.UI.Flex.FlexControl
Core implementation of the IFlexControl interface.
Grasshopper2.UI.Flex.FloatingButton
Base class for button UI elements that float in screen-space on top of IControl.
Grasshopper2.UI.Flex.FloatingButtonCollection
Utility class for storing and maintaining collections of floating buttons. You don't technically need this class but it's a lot easier than doing all the maintenance/bookkeeping yourself.
Grasshopper2.UI.Flex.FloatingButtonEventArgs<T>
Event arguments used in floating button events.
Grasshopper2.UI.Flex.FloatingButtonHandler
Delegate for handling MouseDown, MouseUp and MouseClick events on floating buttons.
Grasshopper2.UI.Flex.FloatingPosition
Enumerates the possible positional states for floating buttons.
Grasshopper2.UI.Flex.FloatingState
Enumerates the possible states in which a floating button can be.
Grasshopper2.UI.Flex.MouseDwellEventArgs
Class used in the FlexControl.MouseDwell event.
Grasshopper2.UI.Flex.MouseMoveData<T>
Utility class for keeping track of mouse move information.
Grasshopper2.UI.Flex.MouseState
Maintains relevant information associated with a single mouse event.
Grasshopper2.UI.Flex.MouseStateHistory
Maintains a collection of sorted mouse states. This class is not threadsafe, only modify it from the UI thread.
Grasshopper2.UI.Flex.PopulateContextMenuEventArgs
Event arguments used during context menu population.
Grasshopper2.UI.Flex.Projection
Immutable projection for an IControl.
Grasshopper2.UI.Flex.ProjectionChangedEventArgs
Class used in the IControl.ProjectionChanged event.
Grasshopper2.UI.Flex.Response
Enumerates the possible responses UI objects may have to events.
Grasshopper2.UI.Flex.ResponseMouseArgs
Mouse event payload delivered to Responses handlers. Mirrors MouseEventArgs but carries the cursor location in both Control and Content coordinate systems, holds a reference to the host control, and exposes an ResponseMouseArgs.Invalidate() method that schedules a redraw without the responder having to subscribe to a separate event.
Grasshopper2.UI.Flex.ResponseRotationArgs
Rotation gesture payload delivered to Responses handlers. Carries the cursor location in both Control and Content coordinate systems plus the per-tick rotation delta in degrees.
Grasshopper2.UI.Flex.Responses
Class for handling UI responses.
Grasshopper2.UI.Flex.WindowSelection
Stores all relevant information regarding UI window selection boxes.
Grasshopper2.UI.Flex.WindowSelectionEventArgs
Class used in the IControl.WindowSelection event.