This question is locked. New answers and comments are not allowed.
when i serialize raddiagram with shapes, i got this string:
<?xml version="1.0" encoding="utf-8"?><RadDiagram Type=""><Metadata Type="Telerik.Windows.Diagrams.Core.DiagramMetadata" Id="04ca8e75-89fd-461d-af41-f993856d5cc1" /><Groups /><Shapes QNs="Telerik.Windows.Controls.Diagrams, Version=2012.2.607.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7;"><RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="5fb33f4f-46bb-4547-a2a5-f9c3e4ac5355" ZIndex="1" Position="1878;999" Content="Produce" StrokeThickness="1" StrokeDashArray="1 0 " Thickness="0;0;0;0" FontSize="12" FontWeight="400" FontFamily="Segoe UI" Size="105;30" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M0.5,0.5L111.5,0.5L111.5,74.5L0.5,74.5z" QN="0"><Stroke><SolidColorBrush Color="#FF487A00" /></Stroke><Background><SolidColorBrush Color="#FF8BC03F" /></Background><Foreground><SolidColorBrush Color="#FFFFFFFF" /></Foreground><BorderBrush><SolidColorBrush Color="#FF487A00" /></BorderBrush></RadDiagramShape></Shapes><Connections /></RadDiagram>
when i deserialize this, borderbrush don't serialize!
you may see this in demo http://demos.telerik.com/silverlight/#Diagrams/FirstLook
copy 1 shape and insert into dashboard. borderbrush will be another color!
i think, bug in <Background><SolidColorBrush Color="#FF8BC03F" /></Background> - serializationinfo class don't deserialize if xelement has more than 1 element inner him. at this we have 3 elements:
<Background><SolidColorBrush Color="#FF8BC03F" /></Background>
<Foreground><SolidColorBrush Color="#FFFFFFFF" /></Foreground>
<BorderBrush><SolidColorBrush Color="#FF487A00" /></BorderBrush>
please, help =)
p.s. sorry for my bad english.
<?xml version="1.0" encoding="utf-8"?><RadDiagram Type=""><Metadata Type="Telerik.Windows.Diagrams.Core.DiagramMetadata" Id="04ca8e75-89fd-461d-af41-f993856d5cc1" /><Groups /><Shapes QNs="Telerik.Windows.Controls.Diagrams, Version=2012.2.607.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7;"><RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="5fb33f4f-46bb-4547-a2a5-f9c3e4ac5355" ZIndex="1" Position="1878;999" Content="Produce" StrokeThickness="1" StrokeDashArray="1 0 " Thickness="0;0;0;0" FontSize="12" FontWeight="400" FontFamily="Segoe UI" Size="105;30" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M0.5,0.5L111.5,0.5L111.5,74.5L0.5,74.5z" QN="0"><Stroke><SolidColorBrush Color="#FF487A00" /></Stroke><Background><SolidColorBrush Color="#FF8BC03F" /></Background><Foreground><SolidColorBrush Color="#FFFFFFFF" /></Foreground><BorderBrush><SolidColorBrush Color="#FF487A00" /></BorderBrush></RadDiagramShape></Shapes><Connections /></RadDiagram>
when i deserialize this, borderbrush don't serialize!
you may see this in demo http://demos.telerik.com/silverlight/#Diagrams/FirstLook
copy 1 shape and insert into dashboard. borderbrush will be another color!
i think, bug in <Background><SolidColorBrush Color="#FF8BC03F" /></Background> - serializationinfo class don't deserialize if xelement has more than 1 element inner him. at this we have 3 elements:
<Background><SolidColorBrush Color="#FF8BC03F" /></Background>
<Foreground><SolidColorBrush Color="#FFFFFFFF" /></Foreground>
<BorderBrush><SolidColorBrush Color="#FF487A00" /></BorderBrush>
please, help =)
p.s. sorry for my bad english.