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

Styling of FontPropertiesDialog

3 Answers 97 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Dietmar
Top achievements
Rank 1
Dietmar asked on 03 Oct 2019, 01:52 PM

Hi,

I need to style the FontPropertiesDialog.

I want to remove the theme, set the background and foreground color.

Where do I find the template of this dialog?

 

regards

Dietmar

3 Answers, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 08 Oct 2019, 08:52 AM

Hi Dietmar,

The general approach with such customization is described in our MEF/Customization help article. We have an example of customized FontPropertiesDialog demo available in our XAML SDK repo on GitHub - CustomFontProperiesDialog 

Hope this helps.

Regards,
Peshito
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Dietmar
Top achievements
Rank 1
answered on 17 Nov 2019, 07:04 PM

Hi Peshito,

sorry for my late reply. Thank you for your help!

But now I have a different problem.

1)  this.SetOwner(owner)  is not recognized.

2) If I open the Dialog the 2nd time, the application crashed on the "this.ShowDialog()" method call.

I also have changed the WindowType to Window instead of (RadWindow or RadDialogWindow?)
.

Here is the Exception:

System.InvalidOperationException: "Visibility kann nicht festgelegt oder Show, ShowDialog oder WindowInteropHelper.EnsureHandle können nicht aufgerufen werden, nachdem ein Window geschlossen wurde."

 

Could you please help me again?

I have attached an screenshot of the exception.

 

Best regards!

Dietmar

0
Peshito
Telerik team
answered on 20 Nov 2019, 09:13 AM

Hello Dietmar,

May I ask you to attach a sample runnable project reproducing the issue? This will speed up the process for finding out what is the reason for this exception. As this is a forum post you could use a third-party website for file sharing.

Looking forward to your reply.

Regards,
Peshito
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RichTextBox
Asked by
Dietmar
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Dietmar
Top achievements
Rank 1
Share this question
or