Represents a collection that stores the GridViewTemplates
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
C#
public class GridViewTemplateCollection : ObservableCollection<GridViewTemplate>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Inheritance: objectCollection<GridViewTemplate>ObservableCollection<GridViewTemplate>GridViewTemplateCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewTemplateCollection class.
C#
public GridViewTemplateCollection(GridViewTemplate owner)
The owner.
Properties
Gets the owner.
C#
public GridViewTemplate Owner { get; }
The owner.
Methods
Adds the GridViewTemplate contained in the specified list to the collection.
C#
public void AddRange(params GridViewTemplate[] gridViewTemplates)
The templates to add.
Overridden. Removes all items from the collection.
C#
protected override void ClearItems()
Overrides:
Gets the template by caption.
C#
public GridViewTemplate[] GetTemplateByCaption(string caption)
The caption.
Returns:Inserts the item.
C#
protected override void InsertItem(int index, GridViewTemplate item)
The index.
itemGridViewTemplateThe item.
Overrides:
Removes the element at the specified index of the Collection<T>.
Sets the item.
C#
protected override void SetItem(int index, GridViewTemplate item)
The index.
itemGridViewTemplateThe item.
Overrides: