Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > To Set Metro theme for Gauge

Not answered To Set Metro theme for Gauge

Feed from this thread
  • Ramya avatar

    Posted on Sep 20, 2011 (permalink)

    Hi,
    I want to set the Metro theme for my gauge control. How do i set it?

    Reply

  • Andrey Andrey admin's avatar

    Posted on Sep 23, 2011 (permalink)

    Hello Ramya,

    You can set theme on the gauge using the StyleManager.Theme attachable property. Also note that using  the theme requires the reference to the appropriate assembly (Telerik.Windows.Themes.Metro.dll) in your project. The sample code is below.
    <UserControl x:Class="GaugeTest.Gauge"
        mc:Ignorable="d"
        d:DesignHeight="300" d:DesignWidth="400">
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadGauge telerik:StyleManager.Theme="Metro">
                <telerik:RadialGauge>
                    <telerik:RadialScale>
                        <telerik:Needle Value="75" />
                    </telerik:RadialScale>
                </telerik:RadialGauge>
            </telerik:RadGauge>
        </Grid>
    </UserControl>

    For more information please take a look for the following documentation topic:
    http://www.telerik.com/help/silverlight/common-styling-apperance-setting-theme.html

    Greetings,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Ramya avatar

    Posted on Sep 24, 2011 (permalink)

    Hi,
    I have tried this but the theme doesnt get applied. what can be the reason?

    Reply

  • Andrey Andrey admin's avatar

    Posted on Sep 28, 2011 (permalink)

    Hi Ramya,

    It is very complicated and it is hard to reproduce the problem without your solution. Could you, please, provide us with a small sample solution which reproduces the problem with the Metro theme?

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > To Set Metro theme for Gauge
Related resources for "To Set Metro theme for Gauge"

Silverlight Gauge Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]