0

Windows Phone에서 RichTextBox 요소의 일부 블록에 대한 여백 속성을 설정하려면 어떻게해야합니까?RichTextBox의 블록 오프셋 설정

<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> 

답변

1

당신은 InlineUIContainer을 사용할 수 있으며 그 안에있는 TextBlock을 넣어 :

<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>