Class ThemeSourceCollection
A collection that stores Theme
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ThemeSourceCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ThemeSourceCollection(RadThemeManager)
Initializes a new instance of theTheme
Declaration
public ThemeSourceCollection(RadThemeManager ownerManager)
Parameters
Rad Owner component |
ThemeSourceCollection(ThemeSource[], RadThemeManager)
Initializes a new instance of the Theme
Declaration
public ThemeSourceCollection(ThemeSource[] value, RadThemeManager ownerManager)
Parameters
Theme A array of Theme |
Rad Owner component |
ThemeSourceCollection(ThemeSourceCollection, RadThemeManager)
Initializes a new instance of the Theme
Declaration
public ThemeSourceCollection(ThemeSourceCollection value, RadThemeManager ownerManager)
Parameters
Theme A Theme |
Rad Owner component |
Fields
ThemeSourcesChanged
Declaration
public ThemeSourcesChangedDelegate ThemeSourcesChanged
Field Value
Properties
Item[Int32]
Represents the entry at the specified index of the Theme
Declaration
public ThemeSource this[int index] { get; set; }
Parameters
System. The zero-based index of the entry to locate in the collection. |
Property Value
Theme The entry at the specified index of the collection. |
Exceptions
System.
|
OwnerManager
Methods
Add(ThemeSource)
Adds a Theme
Declaration
public int Add(ThemeSource value)
Parameters
Theme The Theme |
Returns
System. The index at which the new element was inserted. |
AddRange(ThemeSource[])
Copies the elements of an array to the end of the Theme
Declaration
public void AddRange(ThemeSource[] value)
Parameters
Theme An array of type Theme |
AddRange(ThemeSourceCollection)
Adds the contents of another Theme
Declaration
public void AddRange(ThemeSourceCollection value)
Parameters
Theme A Theme |
Contains(ThemeSource)
Gets a value indicating whether the
Theme
Declaration
public bool Contains(ThemeSource value)
Parameters
Theme The Theme |
Returns
System. true if the Theme |
CopyTo(ThemeSource[], Int32)
Copies the Theme
Declaration
public void CopyTo(ThemeSource[] array, int index)
Parameters
Theme The one-dimensional System. |
System. The index in |
Exceptions
System.
-or- The number of elements in the Theme |
System.
|
System.
|
GetEnumerator()
Returns an enumerator that can iterate through
the Theme
Declaration
public ThemeSourceCollection.ThemeSourceEnumerator GetEnumerator()
Returns
IndexOf(ThemeSource)
Returns the index of a Theme
Declaration
public int IndexOf(ThemeSource value)
Parameters
Theme The Theme |
Returns
System. The index of the Theme |
Insert(Int32, ThemeSource)
Inserts a Theme
Declaration
public void Insert(int index, ThemeSource value)
Parameters
System. The zero-based index where |
Theme The Theme |
OnClearComplete()
Declaration
protected override void OnClearComplete()
Overrides
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnRemoveComplete(Int32, Object)
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnSetComplete(Int32, Object, Object)
Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
System.
|
System.
|
System.
|
Overrides
Remove(ThemeSource)
Removes a specific Theme
Declaration
public void Remove(ThemeSource value)
Parameters
Theme The Theme |
Exceptions
System.
|