Hello, I'm experimenting with the Radial gauge and want to emulate the look of the infragistics XamWebGauge displaying "Live Data" from a web service.
In particular, I want to display the numeric text value in the text box in the center of the radial dial andsome text label to go with it.Is there a code sample that demonstrates how to add the text box & label to the radial gauge?Thanks in advance - D
Thanks - I agree, using margins and a simple TextBox would be the easiest approach to get started. The ControlTemplate tip is good too.
Thanks
you can view the source code for that sample by clicking the "code" button in the upper right.
this sample uses a XamWebSegmentedDisplay instead of a TextBox, but the concept of the same. the simplest way to do it is to just add the TextBox to your form and use its margins to position it over the gauge.
alternatively, you can put the TextBox in the ControlTemplate for the gauge, but it will be harder to reference in c# code when setting the value.