-
[WPF] Text 마우스 선택시 파란영역C#/WPF 2023. 7. 7. 15:50
TextBlock 대신
<TextBox Background="Transparent" BorderThickness="0" Text="{Binding Text, Mode=OneWay}" IsReadOnly="True" TextWrapping="Wrap" />
https://stackoverflow.com/questions/136435/any-way-to-make-a-wpf-textblock-selectable
Any way to make a WPF textblock selectable?
How to allow TextBlock's text to be selectable? I tried to get it to work by displaying the text using a read-only TextBox styled to look like a textblock but this will not work in my case because a
stackoverflow.com
728x90'C# > WPF' 카테고리의 다른 글
[WPF] Project Nuget Packaging (0) 2023.08.23 [WPF] gRPC (0) 2023.07.12 [WPF] Border Brush Theme changed (0) 2023.07.07 [WPF] ListBox Content Resize (0) 2023.07.06 [WPF] 프로세스간 메시지 전달 (0) 2023.06.20 댓글