0
FlowDocument
에 대해 다음과 같은 스타일이 있다고 가정 해보십시오.FlowDocument의 FontFamily가 설정된 경우 단락의 FontWeight를 어떻게 변경합니까?
<Style TargetType="{x:Type FlowDocument}">
<Setter Property="FontFamily" Value="Segoe UI regular"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="LineHeight" Value="19"/>
</Style>
이제는 어떤 이유로 굵게 표시되지 않습니다.
<Paragraph>
<Bold>Is this bold?</Bold>
</Paragraph>
또는이
<Run FontWeight="Bold" Text="{DynamicResource CMMsg_7114}" />
내가 기본 글꼴을 부모 FontFamily
를 설정하고 사용하지 않을 경우 두 방법 모두 잘 작동 있음을 유의하십시오. 어떻게하면이 문제를 해결할 수 있을까요?
정말 고마워요! – VegaBrothers