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

FontPropertiesDialog Styling

3 Answers 44 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Nishant
Top achievements
Rank 1
Nishant asked on 20 Jan 2014, 01:28 PM
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

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 22 Jan 2014, 08:30 AM
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 >>
0
Nishant
Top achievements
Rank 1
answered on 22 Jan 2014, 10:55 AM
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
0
Todor
Telerik team
answered on 24 Jan 2014, 09:39 AM
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 >>
Tags
RibbonView and RibbonWindow
Asked by
Nishant
Top achievements
Rank 1
Answers by
Todor
Telerik team
Nishant
Top achievements
Rank 1
Share this question
or