Class TemplatableCollection<T>
Inheritance
TemplatableCollection<T>
Implements
ICollection<T>
Assembly: Mux.Markup.dll
Syntax
public abstract class TemplatableCollection<T> : TemplatableCollectionList<TemplatedItem<T>>, ICollection<T> where T : BindableObject
Type Parameters
Name |
Description |
T |
The type of templated objects.
|
Constructors
|
Improve this Doc
View Source
Declaration
public TemplatableCollection(BindableObject container)
Parameters
Fields
|
Improve this Doc
View Source
container
Declaration
protected readonly BindableObject container
Field Value
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(T)
Declaration
public void Add(T content)
Parameters
Type |
Name |
Description |
T |
content |
|
|
Improve this Doc
View Source
ChangeSource(IEnumerable)
Changes the source list of items to template.
Declaration
public void ChangeSource(IEnumerable source)
Parameters
Type |
Name |
Description |
IEnumerable |
source |
The new source list of items to template.
|
|
Improve this Doc
View Source
Declaration
public void ChangeTemplate(DataTemplate template)
Parameters
Type |
Name |
Description |
DataTemplate |
template |
The new template.
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Contains(T)
Declaration
public bool Contains(T content)
Parameters
Type |
Name |
Description |
T |
content |
|
Returns
|
Improve this Doc
View Source
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] destination, int index)
Parameters
Type |
Name |
Description |
T[] |
destination |
|
Int32 |
index |
|
|
Improve this Doc
View Source
Remove(T)
Declaration
public bool Remove(T content)
Parameters
Type |
Name |
Description |
T |
content |
|
Returns
Implements
ICollection<>