728x90
반응형
728x170
▶ MainWindow.xaml
<Window x:Class="TestProject.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="800"
Height="600"
Title="FlowDocument 엘리먼트 : RichTextBox 내에서 사용하기"
FontFamily="나눔고딕코딩"
FontSize="16">
<Grid>
<RichTextBox
Width="200"
Height="100">
<FlowDocument>
<Paragraph>
This is a <Bold>RichTextBox</Bold>, which allows formatting
individual bits of text <Italic>separately</Italic>.
</Paragraph>
</FlowDocument>
</RichTextBox>
</Grid>
</Window>
728x90
반응형
그리드형(광고전용)
'C# > WPF' 카테고리의 다른 글
[C#/WPF] DropShadowEffect 엘리먼트 사용하기 (0) | 2021.02.21 |
---|---|
[C#/WPF] RichTextBox 클래스 : RTF 파일 로드하기 (0) | 2021.02.21 |
[C#/WPF] FocusManager 클래스 : SetFocusedElement 정적 메소드를 사용해 논리적 포커스 설정하기 (0) | 2021.02.21 |
[C#/WPF] Keyboard 클래스 : Focus 정적 메소드를 사용해 포커스 설정하기 (0) | 2021.02.21 |
[C#/WPF] Typography 엘리먼트 : Capitals 첨부 속성 사용하기 (0) | 2021.02.21 |
[C#/WPF] FlowDocument 엘리먼트 : RichTextBox 내에서 사용하기 (0) | 2021.02.21 |
[C#/WPF] FixedDocument 엘리먼트 사용하기 (0) | 2021.02.21 |
[C#/WPF] Floater 엘리먼트 : FlowDocument에서 이미지 주변에 텍스트 표시하기 (0) | 2021.02.21 |
[C#/WPF] BlockUIContainer 엘리먼트 사용하기 (0) | 2021.02.21 |
[C#/WPF] Section 엘리먼트 사용하기 (0) | 2021.02.21 |
[C#/WPF] Table 엘리먼트 사용하기 (0) | 2021.02.21 |
댓글을 달아 주세요