Yes, you can achieve your goal in code behind. You can create a StackPanel
and add a TextBlock
and a RadHorizontalBulletGraph
control in its Children
collection. Furthermore, you can set this StackPanel
as content of the RadButton
control. Finally, you can add this button to your "LayoutRoot"
For your convenience I implemented this approach in the attached project. Please take a look at it and let me know if it works for you.
All the best,
Pavel R. Pavlov
the Telerik team