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(Panel.IHandler)
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 Container.Controls.)
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 Container.Remove(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
System.Object
  Eto.Widget
    Eto.Forms.BindableWidget
      Eto.Forms.Control
        Eto.Forms.Container
          Eto.Forms.Panel
            Eto.Forms.CheckBoxList
            Eto.Forms.DocumentPage
            Eto.Forms.Drawable
            Eto.Forms.DynamicLayout
            Eto.Forms.Expander
            Eto.Forms.GroupBox
            Eto.Forms.RadioButtonList
            Eto.Forms.Scrollable
            Eto.Forms.StackLayout
            Eto.Forms.TabPage
            Eto.Forms.ThemedControls.ThemedCollectionEditor
            Eto.Forms.ThemedControls.ThemedPropertyGrid
            Eto.Forms.Window