VisualUnorderedCollection VisualUnorderedCollection VisualUnorderedCollection VisualUnorderedCollection Class

Definition

An unordered collection of visuals.

public : sealed class VisualUnorderedCollection : CompositionObject, IIterable, IVisualUnorderedCollectionpublic sealed class VisualUnorderedCollection : CompositionObject, IEnumerable, IVisualUnorderedCollectionPublic NotInheritable Class VisualUnorderedCollection Inherits CompositionObject Implements IEnumerable, IVisualUnorderedCollection// This API is not available in Javascript.
Inheritance
VisualUnorderedCollectionVisualUnorderedCollectionVisualUnorderedCollectionVisualUnorderedCollection
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Inherited Members

Inherited methods

Inherited properties

Properties

Count Count Count Count

The number of visuals in the collection.

public : int Count { get; }public int Count { get; }Public ReadOnly Property Count As int// This API is not available in Javascript.
Value
int int int int

The nubmer of visuals in the collection.

Methods

Add(Visual) Add(Visual) Add(Visual) Add(Visual)

Adds a visual to the collection.

public : void Add(Visual newVisual)public void Add(Visual newVisual)Public Function Add(newVisual As Visual) As void// This API is not available in Javascript.
Parameters
newVisual
Visual Visual Visual Visual

The visual to add to the collection.

First() First() First() First()

Retrieves the first visual in the collection.

public : IIterator<Visual> First()This member is not implemented in C#This member is not implemented in VB.Net// This API is not available in Javascript.
Returns

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

This member is not implemented in C++IEnumerator<T> GetEnumerator()Function GetEnumerator As IEnumerator(Of T)IEnumerator<T> GetEnumerator()
Returns

An enumerator that can be used to iterate through the collection.

Remove(Visual) Remove(Visual) Remove(Visual) Remove(Visual)

Removes a visual from the collection.

public : void Remove(Visual visual)public void Remove(Visual visual)Public Function Remove(visual As Visual) As void// This API is not available in Javascript.
Parameters
visual
Visual Visual Visual Visual

Removes a visual from the collection.

RemoveAll() RemoveAll() RemoveAll() RemoveAll()

Removes all visuals from the collection.

public : void RemoveAll()public void RemoveAll()Public Function RemoveAll() As void// This API is not available in Javascript.

See Also