Click or drag to resize

ToolBarDock Enumeration

Docking mode hint for a ToolBar

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public enum ToolBarDock
Members
  Member nameValueDescription
Top0 Toolbar will be shown at the top of the form
Bottom1 Toolbar will be shown at the bottom of the form.
Remarks
Most platforms will not respect this, and is usually only necessary for constrained devices like iOS and Android. Each platform may have a different default docking mode, depending on the type of device. E.g. iPhone will by default show the toolbar on the bottom, whereas iPad and dekstop platforms will show it at the top by default. Additionally, some platforms may choose to show the toolbar in a different way, e.g. the Navigation control on iPhone has a standard toolbar available, so if you are using one it will attempt to use its toolbar to provide the best native experience.
See Also