How to wrap TextBlocks in WrapPanel?

Emon Haque 3,176 Reputation points
2021-06-12T23:03:05.333+00:00

Here in my first 3 Ledger views, I've added EditText to filter Particulars column. In the Particulars column, there're two HiBlock, the black part is particulars and the gray part in narration, with TextWrapping.Wrap inside a WrapPanel BUT these don't wrap properly:

105077-test.gif

those Rent. Gas, Water, etc. are on second line! Why does the gray narration, November, 2020, on first line? How to wrap it properly?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,783 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.