MarkupProperty.Items Property

 

When overridden in a derived class, gets the items that make up the value of this property.

Namespace:   System.Windows.Markup.Primitives
Assembly:  WindowsBase (in WindowsBase.dll)

public abstract IEnumerable<MarkupObject> Items { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<MarkupObject>

The items that make up the value of this property.

If the property is not an enumeration, only one item will be returned.

If the property is an enumeration, or enumerable, all the items will be returned.

At least one item is always returned, because MarkupObject will not create a MarkupProperty for properties with no items.

.NET Framework
Available since 3.0
Return to top
Show: