This is a migrated thread and some comments may be shown as answers.

Need RadNumericUpdown Defaults Styles

3 Answers 86 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prashant
Top achievements
Rank 1
Prashant asked on 31 Dec 2013, 11:33 AM
Hi, I want to customize RadNumericUpDown control for windows phone 8.
I need to change the color of "-" and "+" and also the vertical divider between them.
Also I want to know how can I change the positioning of header and suffix properties of the control.

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 02 Jan 2014, 09:35 AM

Hi Prashant,

You can use the Visual Studio designer to extract the default style of the control and modify it accordingly.



This is a standard Silverlight procedure.



I hope this helps.



Regards,

Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Prashant
Top achievements
Rank 1
answered on 03 Jan 2014, 05:18 AM
Hi, Thanks for the response that helped and it worked.

Now I have a different problem. I am binding the value property of the RadNumericUpdown but its not getting binded. the code is as follows:

<phone:LongListSelector Style="{StaticResource LongListSelectorStyle1}" Height="350" Name="MainLongListSelector" Margin="0,0,0,0" ItemsSource="{Binding TimeSheetDetailsItems}" >

<phone:LongListSelector.ItemTemplate>

<DataTemplate>

<telerikInput:RadNumericUpDown

x:Name="radNumericUpDown" Foreground="Black" BorderBrush="Black" Header="{Binding ActId}"

Change="30.0" Suffix="hrs" BorderThickness="1" Height="70" ValueChanged="radNumericUpDown_ValueChanged"

MinValue="0.0" Value="{Binding Hours, Converter={StaticResource TimesheetTimeConvertor}}"

MaxValue="800.0" ValueFormat="0:00"

Grid.Row="0"

Margin="0, 10, 0, 0"

VerticalAlignment="Center" Style="{StaticResource RadNumericUpDownStyle1}"/>

</DataTemplate>

</phone:LongListSelector.ItemTemplate>

</phone:LongListSelector>



And also the I had applied a breakpoint in convertor those breakpoints are also not working. Please help ASAP.

0
Ivo
Telerik team
answered on 06 Jan 2014, 09:00 AM
Hello,
The provided code seems to be working.
Could you, please send us the whole project in order to be able to debug it and to find the reason?

Regards,
Ivo
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
NumericUpDown
Asked by
Prashant
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Prashant
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or