InputPanel
ReferencesUtility class for aggregating controls to be shown on input panels. This panel (when complete) will populate a Menu or Form or PopOver or....
Properties
Methods
AddBar
#Add a tool bar to this panel.
AddCheck
#Add a checkbox to this input.
AddLabel
#Add a label to this input.
AddSpace
#Add a blank vertical gap to this panel. Rows sit two pixels apart, which is right for a run of related bars but too tight when one group of them needs setting apart from the group above.
public Control AddSpace()
AddText
#Add a textbox to this input.
BeginCategory
#Create a disposable category block.
Returns: Disposable category to be used inside a 'using' block.
MoveCategoryBelow
#Move an existing category directly underneath another.
Returns: True if 'category' is now directly below the 'above' category.
RemoveCategory
#Remove a category from this panel. You typically wouldn't do this except sometimes it's less work to let a base class populate the panel and then remove some nonsensical category afterwards.
ShowAsForm
#Populate a title-bar less form with the panel contents. An attempt will be made to place the form _next to_ the bounds but failing that it will be placed next to the point.
public Form ShowAsForm()
Control
owner,
Control which owns this popup.
PointF
point,
Point location.
RectangleF
bounds
Source region in control coordinates.
ToEtoControl
#Create an Eto control which hosts all the inputs on this panel.
public Control ToEtoControl()