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

FontSize in Style

1 Answer 78 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Animesh Dey
Top achievements
Rank 2
Animesh Dey asked on 27 Oct 2011, 12:46 PM
Dear telerik,
I am using radrichtext box. I am trying to set fontsize, font-family through style but it is not working.
<my:RadRichTextBox x:Name="txtChat">
    <my:RadRichTextBox.Resources>
        <Style TargetType="my:RadRichTextBox">
            <Setter Property="FontSize" Value="32"></Setter>
            <Setter Property="Height" Value="100"></Setter>
        </Style>
    </my:RadRichTextBox.Resources>
</my:RadRichTextBox>

Would you please tell me how can I set fontsize and font-family using style.

Regards
Animesh



1 Answer, 1 is accepted

Sort by
0
Animesh Dey
Top achievements
Rank 2
answered on 27 Oct 2011, 12:55 PM
Tags
RichTextBox
Asked by
Animesh Dey
Top achievements
Rank 2
Answers by
Animesh Dey
Top achievements
Rank 2
Share this question
or