■ Span 클래스의 Inlines 속성을 사용해 텍스트를 추가하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 |
using System.Windows.Documents; Span span = new Span(); span.Inlines.Add(new Run("A bit of text content...")); span.Inlines.Add(new Run("A bit more text content...")); |