dotnet / dotnet/wpf

Vertical text support for TextBox/TextBlock/RichTextBox

Open
#7,386 3 comments 13 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

Japanese can be written from [top-to-bottom, right-to-left](https://en.wikipedia.org/wiki/Japanese_language_and_computers#Direction_of_text). I would like to be able to present texts in this format in my WPF projects. Petty tricks like rotating the control won't give the [desired result](https://www.w3.org/International/articles/vertical-text/index).

Suggestion:
Add a new [FlowDirection](https://learn.microsoft.com/en-us/dotnet/api/system.windows.flowdirection) enum like "VerticalRightToLeft" that allows the aforementioned behavior.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing FlowDirection API and the TextBox, TextBlock, and RichTextBox entry points named in the issue, then determine how their layout and text direction are currently handled. Done means these controls support Japanese top-to-bottom, right-to-left text through a defined FlowDirection value without relying on rotation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.