Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.54 KB

setterbasecollection.md

File metadata and controls

37 lines (24 loc) · 1.54 KB
-api-id -api-type
T:Windows.UI.Xaml.SetterBaseCollection
winrt class

Windows.UI.Xaml.SetterBaseCollection

-description

Represents a collection of objects that inherit from SetterBase.

-xaml-syntax

<Style ...>
  oneOrMoreSetters
</Style>

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

A SetterBaseCollection 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<SetterBase> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable<T> with a SetterBase constraint.

-examples

-see-also

IVector<T>, IIterable<T>, IList<T>