What is the quickest way to bind data such as performance counters?

2 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 17 Oct 2010 Link to this post

    Hi,

    What would be the easiest way to bind the values of a performance counter (e.g. memory used) to a RADGauge? Ideally with no XAML editing.

    Thanks
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 20 Oct 2010 Link to this post

    Hello Gurdeep,

    You can simply assign value to the gauge indicator from your code. For example:

    <telerik:RadGauge Name="radGauge">
        <telerik:RadialGauge>
            <telerik:RadialScale>
                <telerik:IndicatorList>
                    <telerik:Needle Name="needle" />
                </telerik:IndicatorList>
            </telerik:RadialScale>
        </telerik:RadialGauge>
    </telerik:RadGauge>

    this.needle.Value = 25;


    Regards,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top