Collection of RadStatePersisterManager settings
Definition
Namespace:Telerik.Web.UI.PersistenceFramework
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PersistenceSettingsCollection : CollectionBase, IList, ICollection, IEnumerable
Inheritance: objectCollectionBasePersistenceSettingsCollection
Implements:
Inherited Members
Constructors
PersistenceSettingsCollection default constructor
public PersistenceSettingsCollection()
Properties
PersistenceSetting indexer
public PersistenceSetting this[int index] { get; set; }
Index of the PersistenceSetting in the collection
Methods
Adds a PersistenceSetting to the end of the PersistenceSettingsCollection
public int Add(PersistenceSetting setting)
PersistenceSetting object
Returns:PersistenceSetting index at which the PersistenceSetting has been added
Adds a PersistenceSetting to the end of the PersistenceSettingsCollection
public void AddSetting(Control controlToPersist)
Type of the control to persist
Adds a PersistenceSetting to the end of the PersistenceSettingsCollection
public void AddSetting(string controlID)
The ID of the control to persist
Adds a PersistenceSetting to the end of the PersistenceSettingsCollection
public void AddSetting(Type controlType)
Type of the controls to persist
Determines whether the PersistenceSettingsCollection contains a specific PersistenceSetting
public bool Contains(PersistenceSetting setting)
PersistenceSetting object
Returns:Returns true if the PersistenceSettingsCollection contains the specified PersistenceSetting; otherwise, false
Searches for the specified PersistenceSetting and returns the zero-based index of the first occurrence within the entire PersistenceSettingsCollection
public int IndexOf(PersistenceSetting setting)
PersistenceSetting object
Returns:The zero-based index of the first occurrence of PersistenceSetting within the entire PersistenceSettingsCollection, if found; otherwise, -1
Inserts a PersistenceSetting into the PersistenceSettingsCollection at the specified index
public void Insert(int index, PersistenceSetting setting)
The zero-based index at which the PersistenceSetting should be inserted
settingPersistenceSettingPersistenceSetting object
Removes the first occurrence of a specific PersistenceSetting from the PersistenceSettingsCollection
public void Remove(PersistenceSetting setting)
PersistenceSetting object