Simple gauge with 2011 Q2

2 posts, 0 answers
  1. christian
    christian avatar
    1 posts
    Member since:
    Jan 2011

    Posted 22 Feb 2012 Link to this post

    Hi everyone,


    I’m using the 2011 Q2 WPF package.

    Is it possible to remove the background to create a very simple style.
    Like the styles from the new Telerik gauges?





  2. Andrey
    Andrey avatar
    1681 posts

    Posted 24 Feb 2012 Link to this post

    Hi Christian,

    You can use the Metro theme for the old gauge control.
    The sample code is below.
    <Window x:Class="OldGaugeControl.MainWindow"
            Title="MainWindow" Height="350" Width="525">
            <ResourceDictionary Source="/Telerik.Windows.Controls.Gauge;component/Themes/Generic.xaml" />
        <Grid Name="layoutRoot" Height="348" Width="500">
            <telerik:RadGauge telerik:StyleManager.Theme="Metro">
                <telerik:RadialGauge Style="{StaticResource MetroRadialGaugeHalfCircleNStyle}">
                    <telerik:RadialScale Style="{StaticResource MetroRadialScaleHalfCircleNStyle}">
                            <telerik:Needle Value="65" />

    All the best,
    Andrey Murzov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top