Ok, i guess I had to ask for help to figure this out. I created a tool to place text on the map and wanted to set the angle.
I used Mortens example from the blog referenced in the previous post, but changed it slightly.
I added a binding element for the text value.
My solution, I created a symbol in the xaml like this -
<esri:MarkerSymbol x:Name="MyAngleTextSymbol">
<esri:MarkerSymbol.ControlTemplate>
<ControlTemplate>
<TextBlock Text="{Binding Attributes[Content]}">
<TextBlock.RenderTransform>
<RotateTransform Angle="{Binding Attributes[Heading]}" />
</TextBlock.RenderTransform>
</TextBlock>
</ControlTemplate>
</esri:MarkerSymbol.ControlTemplate>
</esri:MarkerSymbol >
Then in code when I create the graphic I also add the attributes to the graphic -
Private Sub GraphicDrawObject_DrawComplete(ByVal sender As Object, ByVal args As ESRI.ArcGIS.Client.DrawEventArgs)
Dim graphicsLayer As GraphicsLayer = TryCast(MainMap.Layers("InteractiveGraphicsLayer"), GraphicsLayer)
If TypeOf _activeSymbol Is TextSymbol Then
Dim graphic As New ESRI.ArcGIS.Client.Graphic() With {.Geometry = args.Geometry, .Symbol = MyAngleTextSymbol}
graphic.Attributes.Add("Content", tbxGraphicText.Text)
graphic.Attributes.Add("Heading", tbxTextAngle.Text)
graphicsLayer.Graphics.Add(graphic)
Else
Dim graphic As New ESRI.ArcGIS.Client.Graphic() With {.Geometry = args.Geometry, .Symbol = _activeSymbol}
graphicsLayer.Graphics.Add(graphic)
End If
End Sub