Hi,
Thanks for the Answering my Quries last time but still there are a few quries left. Any help will be Greatly Appriciated.
I am using telerik gauges for silverlight, I have a few queries as follows.
I want to change the color of the RadRadial Gauge but there is no property as such.
I tried adding a referance of the Theams in the solution and added these lines of in app.xaml.cs
But Still The Radial Gauge is showing Default Red color, any suggestion how can i change the color of the radial gauge.
Do i need to change the style in the following code snippet
I am facing another issue in assigning the value of the needle.
when i am using the following code
My application is giving an exception sayin "Object reference not set to an instance of an object."
but when I use the follwing Snippet its working
Any Suggestions What I am doing wrong in my code.
Also I want to use the car indicator Template.
and I added "CarNeedleTemplate" in the ResourceDictionary. But I am getting an error is there any other dll file i need to add.
Can you tell me what are the other styles in telerik silverlight controls because all I am using are default Styles which are in the examples.
Thanks in Advance.
Thanks for the Answering my Quries last time but still there are a few quries left. Any help will be Greatly Appriciated.
I am using telerik gauges for silverlight, I have a few queries as follows.
I want to change the color of the RadRadial Gauge but there is no property as such.
I tried adding a referance of the Theams in the solution and added these lines of in app.xaml.cs
private void Application_Startup(object sender, StartupEventArgs e) |
{ |
Telerik.Windows.Controls.Theme.ApplicationTheme ="Telerik.Windows.Themes.OfficeBlack"; |
this.RootVisual = new Page(); |
} |
But Still The Radial Gauge is showing Default Red color, any suggestion how can i change the color of the radial gauge.
Do i need to change the style in the following code snippet
<control:RadGauge x:Name="radGauge" |
Width="200" |
Height="200" |
Style="{StaticResource RadGaugeStyle}" |
HorizontalAlignment="Center" |
Grid.Column="0" Grid.Row="1"> |
</control:RadGauge> |
I am facing another issue in assigning the value of the needle.
when i am using the following code
needle0.value = val; //val is type long |
My application is giving an exception sayin "Object reference not set to an instance of an object."
but when I use the follwing Snippet its working
radialScale0.Indicators[0].Value = val; |
Any Suggestions What I am doing wrong in my code.
Also I want to use the car indicator Template.
and I added "CarNeedleTemplate" in the ResourceDictionary. But I am getting an error is there any other dll file i need to add.
Can you tell me what are the other styles in telerik silverlight controls because all I am using are default Styles which are in the examples.
Thanks in Advance.