Skip to main content
All docs
V24.1

DXSerializer Methods

Allows the DevExpress WPF Controls to save/restore their layout.
Name Description
AddAllowPropertyHandler(DependencyObject, AllowPropertyEventHandler) static Adds a handler for the AllowProperty attached event.
AddBeforeLoadLayoutHandler(DependencyObject, BeforeLoadLayoutEventHandler) static Adds a handler for the BeforeLoadLayout attached event.
AddCreateCollectionItemEventHandler(DependencyObject, XtraCreateCollectionItemEventHandler) static Adds a handler for the CreateCollectionItemEvent attached event.
AddCustomGetSerializableChildrenHandler(DependencyObject, CustomGetSerializableChildrenEventHandler) static Adds a handler for the CustomGetSerializableChildren attached event.
AddCustomGetSerializablePropertiesHandler(DependencyObject, CustomGetSerializablePropertiesEventHandler) static Adds a handler for the CustomGetSerializableProperties attached event.
AddDeserializePropertyHandler(DependencyObject, XtraPropertyInfoEventHandler) static Adds a handler for the DeserializeProperty attached event.
AddLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) static Adds a handler for the LayoutUpgrade attached event.
Deserialize(DependencyObject, Stream, String, DXOptionsLayout) static Restores (deserializes) layouts of the specified container (or a control) and all its child elements from the Stream.
Deserialize(DependencyObject, Object, String, DXOptionsLayout) static Restores (deserializes) layouts of the specified container (or control) and all its child elements from the XML file.
Deserialize(DependencyObject[], Object, String, DXOptionsLayout) static Restores (deserializes) layouts of the specified container (or control) collection and all their child elements from the XML file/Stream.
DeserializeSingleObject(DependencyObject, Object, String) static Restores (deserializes) the specified container (or control) layout from the XML file/Stream.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnabled(DependencyObject) static Gets the value of the DXSerializer.Enabled attached property for the specified DXSerializer.
GetEnableSubtree(DependencyObject) static Gets the value of the DXSerializer.EnableSubtree attached property for the specified DXSerializer.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLayoutVersion(DependencyObject) static Gets the value of the DXSerializer.LayoutVersion attached property for the specified DXSerializer.
GetSerializationID(DependencyObject) static Gets the value of the DXSerializer.SerializationID attached property for the specified DXSerializer.
GetStoreLayoutMode(DependencyObject) static Gets the value of the DXSerializer.StoreLayoutMode attached property for the specified DXSerializer.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAllowPropertyHandler(DependencyObject, AllowPropertyEventHandler) static Removes a handler for the AllowProperty attached event.
RemoveBeforeLoadLayoutHandler(DependencyObject, BeforeLoadLayoutEventHandler) static Removes a handler for the BeforeLoadLayout attached event.
RemoveCreateCollectionItemEventHandler(DependencyObject, XtraCreateCollectionItemEventHandler) static Removes a handler for the CreateCollectionItemEvent attached event.
RemoveCustomGetSerializableChildrenHandler(DependencyObject, CustomGetSerializableChildrenEventHandler) static Removes a handler for the CustomGetSerializableChildrenEvent attached event.
RemoveCustomGetSerializablePropertiesHandler(DependencyObject, CustomGetSerializablePropertiesEventHandler) static Removes a handler for the CustomGetSerializableProperties attached event.
RemoveDeserializePropertyHandler(DependencyObject, XtraPropertyInfoEventHandler) static Removes a handler for the DeserializeProperty attached event.
RemoveLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) static Removes a handler for the LayoutUpgrade attached event.
Serialize(DependencyObject, Stream, String, DXOptionsLayout) static Saves (serializes) layouts of the specified container (or control) and all its child elements to a Stream. The method saves layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject, Object, String, DXOptionsLayout) static Saves (serializes) layouts of the specified container (or control) and all its child elements to an XML file. The method saves layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject[], Object, String, DXOptionsLayout) static Saves (serializes) layouts of the specified container (or control) collection and all its child elements to an XML file/Stream. The method saves layouts of visual controls that exist in the application’s visual tree.
SerializeSingleObject(DependencyObject, Object, String) static Saves (serializes) the specified container (or control) layout to an XML file/Stream. The method saves layouts of visual controls that exist in the application’s visual tree.
SetEnabled(DependencyObject, Boolean) static Sets the value of the DXSerializer.Enabled attached property to the specified DXSerializer.
SetEnableSubtree(DependencyObject, Boolean) static Sets the value of the DXSerializer.EnableSubtree attached property to the specified DXSerializer.
SetLayoutVersion(DependencyObject, String) static Sets the value of the DXSerializer.LayoutVersion attached property to the specified DXSerializer.
SetSerializationID(DependencyObject, String) static Sets the value of the DXSerializer.SerializationID attached property to the specified DXSerializer.
SetStoreLayoutMode(DependencyObject, StoreLayoutMode) static Sets the value of the DXSerializer.StoreLayoutMode attached property to the specified DXSerializer.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also