FontPropertiesDialog Styling

4 posts, 0 answers
  1. Nishant
    Nishant avatar
    2 posts
    Member since:
    Jan 2014

    Posted 20 Jan 2014 Link to this post

    Hi,

    I am not able to style the FontPropertiesDialog control contents like checkbox, though I am able to style the RadButtons and FontDialog footer and header. I am attaching the screen shot for the reference. I need to fix this issue within 2 days since there a release coming up.
    Please replu ASAP. Thanks in advance.

    Nishant
  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 22 Jan 2014 Link to this post

    Hello Nishant,

    Thank you for contacting us and for the sent image.

    The controls pointed on the screenshot  are RadListBox and the Checkbox control which is not a part from our suite, but we provide a style for it. 

    You can find how to edit the styles of our controls in this article
    In order you want to edit a style, provided by us, targetting a Microsoft control, you can check this help article.

    I hope this helps.
    If you have any further questions, please do not hesitate to contact us again.

    Regards,
    Todor
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Nishant
    Nishant avatar
    2 posts
    Member since:
    Jan 2014

    Posted 22 Jan 2014 Link to this post

    Hi Thanks a lot for replying back, I have earlier tried to make changes in Checkbox control template and placed it in my project same way how you have mentioned. All the checbox in my project reflect the changes but FontPropertiesDialog checkbox doesn't.

    For RadListBox I have taken the RadListBoxItemTemplate from one of your forum and have made some changes but that too doesn't reflect in FontPropertiesDialog control.

    I have spent lot of time looking for the issue but I was not able to conclude why the contents inside the FontPropertiesDialog are not taking the style defined. Please let me know the why I am unable to do so.

    Also can you please provide any sample solution which provides the required changes, it will be very helpful for me.

    Nishant
  5. Todor
    Admin
    Todor avatar
    168 posts

    Posted 24 Jan 2014 Link to this post

    Hello Nishant,

    First of all, please accept my apologies because the control in the FontPropertiesDialog is not a RadListBox, but a native Microsoft ListBox control. This is why it hasn't been affected by the styles you provide.

    Now, straight to the issues:
    • It's strange that all other Checkbox controls in your application are styled by your custom style and the ones in the dialog are not. The possible reasons can be a few:
      • The custom style which you want to be applied is not implicit
      • If it is implicit, the scope on which it's applied is different than the FontPropertiesDialog's one - e.g. it's not defined in App.xaml.
    • The issue with the styling the ListBox control - please accept my apologies for misleading you to style the RadListBox control instead the ListBox control.

    In addition, I've created a sample project with changes, applied on the controls you've been asking for.

    Hope this helps.
    If you have other questions, I'll be glad to assist you further.



    Regards,
    Todor
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top