Click or drag to resize

DocumentControl Class

Control to present multiple pages with tab selection and optional reordering and tab closing.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[ContentPropertyAttribute("Pages")]
public class DocumentControl : Container

The DocumentControl type exposes the following members.

Constructors
  NameDescription
Public methodDocumentControl
Initializes a new instance of the DocumentControl class.
Protected methodDocumentControl(DocumentControlIHandler)
Initializes a new instance of the DocumentControl class with the specified handler.
Top
Properties
  NameDescription
Public propertyAllowReordering
Gets or sets a value indicating the tabs can be reordered.
Public propertyControls
Gets an enumeration of controls that are directly contained by this container
(Overrides ContainerControls.)
Public propertyPages
Gets the collection of tab pages.
Public propertySelectedIndex
Gets or sets the index of the selected page.
Public propertySelectedIndexBinding
Gets the binding for the SelectedIndex property.
Public propertySelectedPage
Gets or sets the currently selected page.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnPageClosed
Raises the PageClosed event.
Protected methodOnPageReordered
Raises the PageReordered event.
Protected methodOnSelectedIndexChanged
Raises the SelectedIndexChanged event.
Public methodRemove
Remove the specified child from the container.
(Overrides ContainerRemove(Control).)
Top
Events
  NameDescription
Public eventPageClosed
Occurs when the DocumentPage is closed.
Public eventPageReordered
Occurs when a page is reordered by the user.
Public eventSelectedIndexChanged
Occurs when the SelectedIndex is changed.
Top
Fields
  NameDescription
Public fieldStatic memberPageReorderedEvent
Event identifier for the PageReordered event.
Top
See Also