RadRichTextBox always blank

2 posts, 0 answers
  1. Lilian
    Lilian avatar
    2 posts
    Member since:
    Dec 2015

    Posted 07 Dec 2015 Link to this post

    Hi,

     

    I'm trying to use the RadRichTextBow to perform some printings but after lots of tries, the richtextbowx is still always blank....

    I even try to create a new project with only a span with no success....

     

    <Window x:Class="WpfApplication1.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
            xmlns:local="clr-namespace:WpfApplication1"
            xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
            mc:Ignorable="d"
            Title="MainWindow" Height="350" Width="525">
        <Grid>
            <telerik:RadRichTextBox x:Name="test">
                <telerik:RadDocument>
                    <telerik:Section>
                        <telerik:Paragraph>
                            <telerik:Span Text="Span declared in XAML" />
                        </telerik:Paragraph>
                    </telerik:Section>
                </telerik:RadDocument>
            </telerik:RadRichTextBox>
        </Grid>
    </Window>

    Am I doing something really wrong ? Maybe a missing reference...

  2. Lilian
    Lilian avatar
    2 posts
    Member since:
    Dec 2015

    Posted 07 Dec 2015 Link to this post

    Ok I fixed it...I was using the NoXaml libraries...
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top