ClassObjectStorage
Represents a storage for the storing objects and their StorageId keys.
Definition
Namespace:Telerik.Windows.PersistenceFramework
Assembly:Telerik.Windows.PersistenceFramework.dll
Syntax:
public class ObjectStorage
Inheritance: objectObjectStorage
Constructors
ObjectStorage()
Declaration
public ObjectStorage()
Properties
Count
Gets the count.
Items
Gets the items.
Declaration
public virtual IEnumerable<DependencyObject> Items { get; }
Property Value
IEnumerable<DependencyObject>
Keys
Gets the keys.
Declaration
public virtual IEnumerable<string> Keys { get; }
Property Value
Methods
AddItemToStorage(string, DependencyObject)
Adds the item to storage.
Declaration
public virtual void AddItemToStorage(string key, DependencyObject item)
Parameters
key
The key.
item
DependencyObject
The item.
ContainsItemKey(string)
Determines whether [contains item key] [the specified key].
GetElement(string)
Gets the element.
Declaration
public virtual DependencyObject GetElement(string key)
Parameters
key
The key.
Returns
DependencyObject
GetElementAt(int)
Gets the element at.
Declaration
public virtual DependencyObject GetElementAt(int index)
Parameters
index
The index.
Returns
DependencyObject
GetKey(DependencyObject)
Gets the key.
Declaration
public virtual string GetKey(DependencyObject item)
Parameters
item
DependencyObject
The item.
Returns
RemoveItemFromStorage(string)
Removes the item from storage.
Declaration
public virtual void RemoveItemFromStorage(string key)
Parameters
key
The key.
ReplaceItemInStorage(string, DependencyObject)
Replaces the item in storage.
Declaration
public virtual void ReplaceItemInStorage(string key, DependencyObject item)
Parameters
key
The key.
item
DependencyObject
The item.