[]
        
(Showing Draft Content)

C1.Framework.BasePanel

BasePanel Class

Base class for all Element object that contain child elements.

Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class BasePanel : Element, ISupportUia
Remarks

This class extends Element and implements the Children property.

This class acts like a static canvas. It has no layout logic other than sizing itself to fit its children.

Constructors

Name Description
BasePanel()

Initializes a new instance of a BasePanel.

BasePanel(Style)

Initializes a new instance of a BasePanel.

Fields

Name Description
_children

Properties

Name Description
Children

Gets or sets the list of child elements contained in this Element.

Methods

Name Description
AlignChildren(Graphics)
AlignHorizontally(Rectangle, Alignment, int, int)
AlignVertically(Rectangle, Alignment, int, int)
Layout(Graphics)

Layout this element based on its style and contents.

LayoutChildren(Graphics)
SizeToContent(Graphics, bool)
SizeToContent(Graphics, bool, Size)
SizeToParent()