Back to Devexpress

DXSerializer Methods

wpf-devexpress-dot-xpf-dot-core-dot-serialization-dot-dxserializer-dot-underscore-methods.md

latest16.6 KB
Original Source

DXSerializer Methods

Allows the DevExpress WPF Controls to save/restore their layout.

NameDescription
AddAllowPropertyHandler(DependencyObject, AllowPropertyEventHandler) staticAdds a handler for the AllowProperty attached event.
AddBeforeLoadLayoutHandler(DependencyObject, BeforeLoadLayoutEventHandler) staticAdds a handler for the BeforeLoadLayout attached event.
AddCreateCollectionItemEventHandler(DependencyObject, XtraCreateCollectionItemEventHandler) staticAdds a handler for the CreateCollectionItemEvent attached event.
AddCustomGetSerializableChildrenHandler(DependencyObject, CustomGetSerializableChildrenEventHandler) staticAdds a handler for the CustomGetSerializableChildren attached event.
AddCustomGetSerializablePropertiesHandler(DependencyObject, CustomGetSerializablePropertiesEventHandler) staticAdds a handler for the CustomGetSerializableProperties attached event.
AddDeserializePropertyHandler(DependencyObject, XtraPropertyInfoEventHandler) staticAdds a handler for the DeserializeProperty attached event.
AddLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) staticAdds a handler for the LayoutUpgrade attached event.
Deserialize(DependencyObject, Stream, String, DXOptionsLayout, SerializationType) staticRestores (deserializes) the layouts of the specified container (or control) and all its child elements from a Stream.
Deserialize(DependencyObject, String, String, DXOptionsLayout, SerializationType) staticRestores (deserializes) the layouts of the specified container (or control) and all its child elements from a file.
Deserialize(DependencyObject[], Stream, String, DXOptionsLayout, SerializationType) staticRestores (deserializes) the layouts of specified containers (or controls) and all their child elements from a Stream.
Deserialize(DependencyObject[], String, String, DXOptionsLayout, SerializationType) staticRestores (deserializes) the layouts of specified containers (or controls) and all their child elements from a file.
DeserializeSingleObject(DependencyObject, Stream, String, SerializationType) staticRestores (deserializes) the layouts of the specified container (or control) and all its child elements from a Stream.
DeserializeSingleObject(DependencyObject, String, String, SerializationType) staticRestores (deserializes) the layouts of the specified container (or control) and all its child elements from a file.
Equals(Object, Object) staticDetermines 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) staticGets the value of the DXSerializer.Enabled attached property for the specified DXSerializer.
GetEnableSubtree(DependencyObject) staticGets the value of the DXSerializer.EnableSubtree attached property for the specified DXSerializer.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLayoutVersion(DependencyObject) staticGets the value of the DXSerializer.LayoutVersion attached property for the specified DXSerializer.
GetSerializationID(DependencyObject) staticGets the value of the DXSerializer.SerializationID attached property for the specified DXSerializer.
GetStoreLayoutMode(DependencyObject) staticGets the value of the DXSerializer.StoreLayoutMode attached property for the specified DXSerializer.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAllowPropertyHandler(DependencyObject, AllowPropertyEventHandler) staticRemoves a handler for the AllowProperty attached event.
RemoveBeforeLoadLayoutHandler(DependencyObject, BeforeLoadLayoutEventHandler) staticRemoves a handler for the BeforeLoadLayout attached event.
RemoveCreateCollectionItemEventHandler(DependencyObject, XtraCreateCollectionItemEventHandler) staticRemoves a handler for the CreateCollectionItemEvent attached event.
RemoveCustomGetSerializableChildrenHandler(DependencyObject, CustomGetSerializableChildrenEventHandler) staticRemoves a handler for the CustomGetSerializableChildrenEvent attached event.
RemoveCustomGetSerializablePropertiesHandler(DependencyObject, CustomGetSerializablePropertiesEventHandler) staticRemoves a handler for the CustomGetSerializableProperties attached event.
RemoveDeserializePropertyHandler(DependencyObject, XtraPropertyInfoEventHandler) staticRemoves a handler for the DeserializeProperty attached event.
RemoveLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) staticRemoves a handler for the LayoutUpgrade attached event.
Serialize(DependencyObject, Stream, String, DXOptionsLayout, SerializationType) staticSaves (serializes) the layouts of the specified container (or control) and all its child elements to a Stream. The method serializes the layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject, String, String, DXOptionsLayout, SerializationType) staticSaves (serializes) the layouts of the specified container (or control) and all its child elements to a file. The method serializes the layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject[], Stream, String, DXOptionsLayout, SerializationType) staticSaves (serializes) the layouts of specified containers (or controls) and all their child elements to a Stream. The method serializes the layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject[], String, String, DXOptionsLayout, SerializationType) staticSaves (serializes) the layouts of specified containers (or controls) and all their child elements to a file. The method serializes the layouts of visual controls that exist in the application’s visual tree.
SerializeSingleObject(DependencyObject, Stream, String, SerializationType) staticSaves (serializes) the layouts of the specified container (or control) and all its child elements to a Stream. The method serializes the layouts of visual controls that exist in the application’s visual tree.
SerializeSingleObject(DependencyObject, String, String, SerializationType) staticSaves (serializes) the layouts of the specified container (or control) and all its child elements to a file. The method serializes the layouts of visual controls that exist in the application’s visual tree.
SetEnabled(DependencyObject, Boolean) staticSets the value of the DXSerializer.Enabled attached property to the specified DXSerializer.
SetEnableSubtree(DependencyObject, Boolean) staticSets the value of the DXSerializer.EnableSubtree attached property to the specified DXSerializer.
SetLayoutVersion(DependencyObject, String) staticSets the value of the DXSerializer.LayoutVersion attached property to the specified DXSerializer.
SetSerializationID(DependencyObject, String) staticSets the value of the DXSerializer.SerializationID attached property to the specified DXSerializer.
SetStoreLayoutMode(DependencyObject, StoreLayoutMode) staticSets 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

DXSerializer Class

DXSerializer Members

DevExpress.Xpf.Core.Serialization Namespace