dotnet / dotnet/wpf

Text selection for TextBlock And AutoSize for RichTextBox

Open
#7,940 4 comments 2 reactions 0 assignees View on GitHub
Enhancement Requested
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

When you use WPF to develop chat applications, you will find that you need to use the TextBlock control to display rich text and allow the user to select and copy text is a very common need, if you use TextBox to implement it lacks TextBlock's Inlines property, if you use RichTextBox to implement it lacks TextBlock's automatic width and height properties, I hope to add the function of the selection effect to TextBlock. RichTextBox adds automatic height and width

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.