public : sealed class ItemCollection
public sealed class ItemCollection
Public NotInheritable Class ItemCollection
<ItemsControl> oneOrMoreFrameworkElements </ItemsControl>
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
Enumerating the collection in C# or Microsoft Visual Basic
An ItemCollection is enumerable, so you can use language-specific syntax such as foreach in C# to enumerate the items in the collection. The compiler does the type-casting for you and you won't need to cast to
IEnumerable explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable
|Size Size Size Size||
Gets the size (count) of the collection.
|VectorChanged VectorChanged VectorChanged VectorChanged||
Occurs when the items list of the collection has changed, or the collection is reset.
피드백 로드 중...