Click or drag to resize

Panel Class

Control to display a panel containing a single Content control
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Content")]
public class Panel : Container

The Panel type exposes the following members.

Constructors
  NameDescription
Public methodPanel
Initializes a new instance of the Panel class.
Protected methodPanel(PanelIHandler)
Initializes a new instance of the Panel class with the specified handler.
Top
Properties
  NameDescription
Public propertyContent
Gets or sets the main content of the panel.
Public propertyContextMenu
Gets or sets the context menu for the panel.
Public propertyControls
Gets an enumeration of controls that are directly contained by this container
(Overrides ContainerControls.)
Public propertyMinimumSize
Gets or sets the minimum size of the panel.
Public propertyPadding
Gets or sets the padding around the Content of the panel.
Top
Methods
  NameDescription
Public methodRemove
Removes the specified child from the container
(Overrides ContainerRemove(Control).)
Top
Remarks
This can be instantiated directly to provide padding around a control, and is also the base of other containers that have only a single child control.
See Also
Inheritance Hierarchy
SystemObject
  EtoWidget
    Eto.FormsBindableWidget
      Eto.FormsControl
        Eto.FormsContainer
          Eto.FormsPanel
            Eto.FormsCheckBoxList
            Eto.FormsDocumentPage
            Eto.FormsDrawable
            Eto.FormsDynamicLayout
            Eto.FormsExpander
            Eto.FormsGroupBox
            Eto.FormsRadioButtonList
            Eto.FormsScrollable
            Eto.FormsStackLayout
            Eto.FormsTabPage
            Eto.Forms.ThemedControlsThemedCollectionEditor
            Eto.Forms.ThemedControlsThemedPropertyGrid
            Eto.FormsWindow