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

Telerik RichTextBox in Visual Tree but not visible

5 Answers 269 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 30 Mar 2017, 03:16 AM

As stated in http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/getting-started/getting-started I added the below references to my WPF project and a simple XAML declaration of RadRichTextBox and the project builds fine and RadRichTextBox is visible in Visual Tree while debugging but it is not rendered on the screen using both VS 2015 and VS 2017. If I replace it with standard WPF RichTexBox everything works fine. I am unable to find anything on this problem in forums or in documentation so what is the problem here and how to resolve it?

Sample project attached (It's a zip file but it's not allowed so I changed the extension to jpg).

 

Telerik.Windows.Controls
Telerik.Windows.Data
Telerik.Windows.Documents
Telerik.Windows.Documents.Core
Telerik.Windows.Documents.Flow
System.ComponentModel.Composition

5 Answers, 1 is accepted

Sort by
0
Dean
Top achievements
Rank 1
answered on 30 Mar 2017, 03:17 AM
Forgot to mention but my OS is Windows 10 x64 if relevant.
0
Dean
Top achievements
Rank 1
answered on 30 Mar 2017, 05:15 AM
The problem was that I'm using NoXaml binaries and forgot to merge required resource dictionaries and define a style based on RichTextBoxStyle.
0
Tanya
Telerik team
answered on 30 Mar 2017, 04:08 PM
Hello Dean,

When using the NoXaml binaries it is mandatory to merge the required resources so you can see the controls. I noticed that you have already found this but I will post the relevant articles here for a future reference:

- Setting a Theme topic: Describes how you can use the NoXaml binaries and the implicit styles.
- Controls Dependencies article: Lists all the dependencies of each control in the suite.

Regards,
Tanya
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Russell
Top achievements
Rank 1
answered on 04 Feb 2020, 08:30 PM
dependency article is broken link
0
Tanya
Telerik team
answered on 07 Feb 2020, 06:23 AM

Hi Russell,

Thank you for notifying us about that. I have warned the responsible team so they can fix that link. In the meantime, you can find the topic at https://docs.telerik.com/devtools/wpf/common-information/installation-installing-dependencies-wpf.

I have updated your Telerik points in appreciation for bringing the broken link to our attention.

Regards,
Tanya
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
Dean
Top achievements
Rank 1
Answers by
Dean
Top achievements
Rank 1
Tanya
Telerik team
Russell
Top achievements
Rank 1
Share this question
or