Need RadNumericUpdown Defaults Styles

4 posts, 0 answers
  1. Prashant
    Prashant avatar
    2 posts
    Member since:
    Dec 2013

    Posted 31 Dec 2013 Link to this post

    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.
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 02 Jan 2014 Link to this post

    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.
  3. DevCraft banner
  4. Prashant
    Prashant avatar
    2 posts
    Member since:
    Dec 2013

    Posted 02 Jan 2014 Link to this post

    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.

  5. Ivo
    Admin
    Ivo avatar
    90 posts

    Posted 06 Jan 2014 Link to this post

    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.
Back to Top
DevCraft banner