Click or drag to resize

Splitter Class

Control to show two panels separated by a splitter
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class Splitter : Container

The Splitter type exposes the following members.

Constructors
  NameDescription
Public methodSplitter
Initializes a new instance of the Splitter class
Top
Properties
  NameDescription
Public propertyControls
Gets an enumeration of controls that are directly contained by this container
(Overrides ContainerControls.)
Public propertyFixedPanel
Gets or sets the panel with fixed size.
Public propertyStatic memberIsSupported
Gets a value indicating the Splitter is supported in the platform
Public propertyOrientation
Gets or sets the orientation of the panels in the splitter.
Public propertyPanel1
Gets or sets the top or left panel of the splitter.
Public propertyPanel1MinimumSize
Gets or sets the minimal size of the first panel.
Public propertyPanel2
Gets or sets the bottom or right panel of the splitter.
Public propertyPanel2MinimumSize
Gets or sets the minimal size of the second panel.
Public propertyPosition
Gets or sets the position of the splitter from the left or top, in pixels.
Public propertyRelativePosition
Gets or sets the relative position of the splitter which is based on FixedPanel.
Public propertySplitterWidth
Gets or sets size of the splitter/gutter
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnPositionChanged
Raises the PositionChanged event.
Public methodRemove
Removes the specified child from the container.
(Overrides ContainerRemove(Control).)
Top
Events
  NameDescription
Public eventPositionChanged
Raised when the user moves the splitter.
Top
Fields
  NameDescription
Public fieldStatic memberPositionChangedEvent
Identifier for the PositionChanged event
Top
Remarks
Most desktop platforms allow the user to modify the position of the splitter, though some (notibly iOS) do not. The Orientation of the splitter determines how the controls are laid out, either horizontally or vertically.
See Also