I need default style of RadPasswordBox

Thread is closed for posting
4 posts, 0 answers
  1. Terry
    Terry avatar
    4 posts
    Member since:
    Nov 2013

    Posted 12 Nov 2013 Link to this post


        I have many Radtextbox & 1 RadPasswordBox in my page. I am having problems with light - dark theme issues. I got RadTextBox 's default style from an example provided in one of your forums app "TextBoxStyleWP7", I made required changes in VisualState and am done with it.

        At this moment, I am not able to get and also don't know how to get default style from Expression Blend and/or VisualStudio 2012. Can any one pass me default style of RadPasswordBox, I will make reqd changes and make it workable like RadTextBox 's. OR can you tell, how do I set/change VisualState in code ? I will retrieve the style using :
    Style textBoxStyle = new Style(typeof(RadPasswordBox));

    make modifications in VisualStateGroup of FocusStates and update it.

      I am new in WP8 development, can anyone also help me guide - how do I access the Style created for RadTextBox for all pages textboxes. Where should I put the Style so can access it in all pages ?

    Any help is highly appreciated.


  2. Todor
    Todor avatar
    798 posts

    Posted 15 Nov 2013 Link to this post

    Hello Terry,

    Thank you for writing.

    You can use the Visual Studio designer to extract the default style of a control. Simple Right-click it, then choose Edit Template -> Edit a Copy

    Write an appropriate key and select Application. This way the resource will be defined in the scope of the whole application and you will be able to access it on multiple pages as a static resource.

    On a side note, I'd like to inform you that curretly you don't have an active support plan. You can have a look at our offers and see how you can get a 24-hour response support and have full access to our source code.

    I hope this information helps.
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. beavisCZ
    beavisCZ avatar
    21 posts
    Member since:
    May 2007

    Posted 05 Feb 2015 in reply to Todor Link to this post

    I tried sugested solution and I get only epty style:
    <ControlTemplate x:Key="RadPasswordBoxControlTemplate1" TargetType="telerikPrimitives:RadPasswordBox"/>

    What I'm doing wrong? I cant find full style for this control anywhere.
  4. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 10 Feb 2015 Link to this post

    Hello Martin,

    Please find attached a project  with the custom style of the RadPasswordBox control.

    I hope this helps. Let us know if you have further questions.


    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