Container Class

Definition

Line 10 of System.Windows/Container.cm

Constructors & Destructor

public nothrow Container(Component* parent_)
public virtual ~Container()

Member Functions

public void AddChild(Component* child)
public inline nothrow Component* FirstChild() const
public void InsertAfter(Component* child, Component* after)
public void InsertBefore(Component* child, Component* before)
public inline nothrow bool IsEmpty() const
public inline nothrow Component* LastChild() const
public inline nothrow Component* Parent() const
public UniquePtr<Component> RemoveChild(Component* child)
internal nothrow void SetParent(Component* parent_)

Member Variables

private Component* firstChild
private Component* lastChild
private Component* parent

Constructor& Destructor Details

Container Constructor

public nothrow Container(Component* parent_)

Definition
Line 12 of System.Windows/Container.cm


~Container Destructor

public virtual ~Container()

Definition
Line 15 of System.Windows/Container.cm


Member Function Details

AddChild Member Function

public void AddChild(Component* child)

Definition
Line 29 of System.Windows/Container.cm


FirstChild Member Function

public inline nothrow Component* FirstChild()

Definition
Line 126 of System.Windows/Container.cm


InsertAfter Member Function

public void InsertAfter(Component* child, Component* after)

Definition
Line 98 of System.Windows/Container.cm


InsertBefore Member Function

public void InsertBefore(Component* child, Component* before)

Definition
Line 70 of System.Windows/Container.cm


IsEmpty Member Function

public inline nothrow bool IsEmpty()

Definition
Line 25 of System.Windows/Container.cm


LastChild Member Function

public inline nothrow Component* LastChild()

Definition
Line 130 of System.Windows/Container.cm


Parent Member Function

public inline nothrow Component* Parent()

Definition
Line 134 of System.Windows/Container.cm


RemoveChild Member Function

public UniquePtr<Component> RemoveChild(Component* child)

Definition
Line 54 of System.Windows/Container.cm


SetParent Member Function

internal nothrow void SetParent(Component* parent_)

Definition
Line 138 of System.Windows/Container.cm