|
[XAML]
<DataTemplate x:Key="TextTemplate">
<TextBlock Background="Red" Text="{Binding YData,StringFormat=C0}" Padding="5"/>
</DataTemplate>
|
Hi Tomas,
We are glad that your requirement has been met.
Please let us know if you have any queries.
Regards,
Samuel
|
Add your text into Content Property of the NodeViewModel.
Add ContentTemplate Property inside the NodeView Style.
In NodeVM.CS class, remove the Content= null from the ContentDummy Property.
|