Utilities related to the (de)serialization.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
C#
public static class SerializationExtensions
Inheritance: objectSerializationExtensions
Methods
Deserializes some primitive properties of a control.
C#
public static void DeserializePrimitives(this Control control, SerializationInfo info)
The control.
infoSerializationInfoThe serialization info.
Returns a brush from the SerializationInfo data.
Converts the brush to a serialized form which can be added to the buckets of the SerializationInfo.
GetThickness(string)
Thickness
Returns a Thickness on the basis of the given string.
C#
public static Thickness GetThickness(string serializationValue)
The serialized thickness.
Returns:Thickness
Returns a serialized form of the given thickness.
C#
public static string GetThicknessInfo(this Thickness thickness)
The thickness.
Returns:Serializes some primitive properties of a control.
C#
public static void SerializePrimitives(this Control control, SerializationInfo info)
The control.
infoSerializationInfoThe serialization info.