Table of Contents

Class CollectionSupport

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Static class containing helper methods to work with collections (like the XamlParser does)

public static class CollectionSupport
Inheritance
CollectionSupport

Methods

AddToCollection(Type, object, XamlPropertyValue)

Adds a value to the end of a collection.

CanCollectionAdd(Type, IEnumerable)

Gets if the collection type col can accept the specified items.

CanCollectionAdd(Type, Type)

Gets if the collection type col can accepts items of type item.

Insert(Type, object, XamlPropertyValue, int)

Adds a value at the specified index in the collection.

IsCollectionType(Type)

Gets if the type is considered a collection in XAML.

RemoveItem(Type, object, object)

Removes an item instance from the specified collection.

RemoveItemAt(Type, object, int)

Removes the item at the specified index of the collection.