TextBox ActionButton and ClearButton Styles

3 posts, 0 answers
  1. Pantelis
    Pantelis avatar
    7 posts
    Member since:
    Jan 2012

    Posted 15 Jun 2014 Link to this post

    Using the latest (?) build, the one which came free a couple of weeks ago. 
    I'm trying to change the styles in question but editing a copy of the template doesn't bring up the xaml for these too.

    Specifically, the ActionButton icon, seems to alway be black when the control is unfocused, even if I explicitly set a style with a new icon having another color.

    <telerikPrimitives:RadTextBox.ActionButtonStyle>
        <Style TargetType="telerikTextBox:TextBoxActionButton">                   
             <Setter Property="RestStateImageSource" Value="Question.png"/>
         </Style>
    </telerikPrimitives:RadTextBox.ActionButtonStyle>

    The snippet is from the ExamplesCS_WP solution, where the icon Question.png image is white, but the question mark is still black no matter what.
    I also want the Pressed visual states of the styles in order to apply my colors of preference.


    Thanks in advance.
  2. Pantelis
    Pantelis avatar
    7 posts
    Member since:
    Jan 2012

    Posted 15 Jun 2014 Link to this post

    EDIT

    THIS won't help, it is almost one and a half years old and many resources cannot be found.
  3. DevCraft banner
  4. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 19 Jun 2014 Link to this post

    Hi Pantelis,

    Thank you for contacting us.

    I have attached a project that contains the default styles of the action and clear buttons of the RadTextBox control. These styles are for the Windows Phone 8.0 version of the controls. Please, let us know if you need the WP 7.1 version. 

    I hope this helps. Do not hesitate to contact us if you have further questions.

    Regards,
    Rosy Topchiyska
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top