Click or drag to resize
PersistenceManager Class
Manager class for serialization and deserialization.
Inheritance Hierarchy

Namespace: Telerik.Windows.Persistence
Assembly: Telerik.Windows.PersistenceFramework (in Telerik.Windows.PersistenceFramework.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class PersistenceManager : DependencyObject

The PersistenceManager type exposes the following members.

Constructors
  NameDescription
Public methodPersistenceManager
Initializes a new instance of the PersistenceManager class.
Top
Methods
  NameDescription
Protected methodGetDeserializerOverride
Gets the deserialization object used for deserialization.
Public methodStatic memberGetSerializationOptions
Protected methodGetSerializerOverride
Gets the serialized used for serialization.
Public methodStatic memberGetStorage
Gets the current storage with the serialization objects.
Public methodStatic memberGetStorageId
Public methodLoad(Stream)
Loads the objects from the specified stream.
Public methodLoad(Object, Stream)
Loads the specified object.
Protected methodOnPersistenceError
Raises the PersistenceError event.
Protected methodOnPropertyPersisted
Raises the PropertyPersisted event.
Protected methodOnPropertyPersistenceCompleted
Raises the PropertyPersistenceCompleted event.
Protected methodOnPropertyPersisting
Raises the PropertyPersisting event.
Protected methodOnPropertyRestored
Raises the PropertyRestored event.
Protected methodOnPropertyRestoring
Raises the PropertyRestoring event.
Protected methodOnPropertyRestoringCompleted
Raises the PropertyRestoringCompleted event.
Protected methodOnTypeRestored
Raises the [E:TypeRestored] event.
Public methodStatic memberOverrideStorage
Overrides the storage.
Public methodSave
Saves the specified object.
Public methodSave(Object)
Saves the specified object.
Public methodStatic memberSetSerializationOptions
Public methodStatic memberSetStorageId
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberSerializationOptionsProperty
Defines the SerializationOptions dependency property.
Public fieldStatic memberStorageIdProperty
Defines the StorageId dependency property.
Top
Properties
  NameDescription
Public propertyAllowCrossVersion
Gets or sets a value indicating whether you can deserialize Telerik controls with different version.
Protected propertyDeserializer
Gets or sets the deserialized used for deserialization.
Protected propertySerializer
Gets or sets the Serializer used for serialization.
Top
Attached Properties
  NameDescription
Public attached propertySerializationOptions
Defines the SerializationOptions dependency property.
Public attached propertyStorageId
Defines the StorageId dependency property.
Top
Events
  NameDescription
Public eventPersistenceError
Raised when an error occurs while persisting or restoring.
Public eventPropertyPersisted
Raised when a property has been persisted.
Public eventPropertyPersistenceCompleted
Raised when all properties have been persisted.
Public eventPropertyPersisting
Raised when a property is being persisted.
Public eventPropertyRestored
Raised when a property has been restored.
Public eventPropertyRestoring
Raised when a property is being restored.
Public eventPropertyRestoringCompleted
Raised when all properties has been restored.
Public eventTypeRestored
Occurs when type is restored.
Top
See Also