Class Panel
Represents a container that can contain multiple child elements.
Inherited Members
Namespace: nanoFramework.Presentation.Controls
Assembly: nanoFramework.Graphics.dll
Syntax
public class Panel : UIElement
Constructors
Panel()
Declaration
public Panel()
Properties
Children
Gets the collection of child elements of this panel.
Declaration
public UIElementCollection Children { get; }
Property Value
Type | Description |
---|---|
UIElementCollection |
Methods
MeasureOverride(int, int, out int, out int)
Measures the size required for this panel and its child elements.
Declaration
protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)
Parameters
Type | Name | Description |
---|---|---|
int | availableWidth | The available width for this panel. |
int | availableHeight | The available height for this panel. |
int | desiredWidth | The desired width of this panel. |
int | desiredHeight | The desired height of this panel. |