Set offsetfor Block in RichTextBox
-
07-06-2021 - |
Frage
How can I set Margin property for some Block in RichTextBox element in Windows Phone?
<RichTextBox>
<Paragraph>Today I am going to talk about RichTextBox, I know you must be having lot of expectations from this RichTextBox. Here I will try my best to make you aware of what will work and what will not work in this short post for RichTextBox in Windows Phone </Paragraph>
</RichTextBox>
Lösung
You can use InlineUIContainer
and put TextBlock in it:
<RichTextBox>
<Paragraph>
<InlineUIContainer>
<TextBlock Text="Today I am going to talk about RichTextBox, I know you must be having lot of expectations from this RichTextBox. Here I will try my best to make you aware of what will work and what will not work in this short post for RichTextBox in Windows Phone"
TextWrapping="Wrap"
Margin="10" />
</InlineUIContainer>
</Paragraph>
</RichTextBox>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow