Table of Contents

Class Panel

Namespace
nanoFramework.Presentation.Controls
Assembly
nanoFramework.Graphics.dll

Represents a container that can contain multiple child elements.

public class Panel : UIElement
Inheritance
Panel
Derived
Inherited Members
Extension Methods

Constructors

Panel()

public Panel()

Properties

Children

Gets the collection of child elements of this panel.

public UIElementCollection Children { get; }

Property Value

UIElementCollection

Methods

MeasureOverride(int, int, out int, out int)

Measures the size required for this panel and its child elements.

protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)

Parameters

availableWidth int

The available width for this panel.

availableHeight int

The available height for this panel.

desiredWidth int

The desired width of this panel.

desiredHeight int

The desired height of this panel.