UIElementCollection.Append(UIElement) Method

Definition

Adds a new item to the collection.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.UIElementCollection.Append.

public:
 virtual void Append(UIElement ^ value) = IVector<UIElement ^>::Append;
void Append(UIElement const & value);
public void Append(UIElement value);
function append(value)
Public Sub Append (value As UIElement)

Parameters

value
UIElement

The new item to add.

Implements

Remarks

Append adds the item to the end of the collection. If you want to insert an item into the beginning or middle of a collection, use InsertAt.

If you are programming using C# or Microsoft Visual Basic, see Add.

Applies to

See also