Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
TextBlockwithがありTextTrimming = TextTrimming.CharacterEllipsis、最初にドットを表示したい。このためのプロパティはありますか?
TextBlock
TextTrimming = TextTrimming.CharacterEllipsis
たとえば、「123456789ABCDEF」というテキストがある場合、「12345678 ...」と表示されますが、「...89ABCDEF」が必要です。
ありがとう
私はFlowDirectionをいじってみました、それは最初に...をレンダリングしますが、それでも1234などで始まりました。
しかし、私はこの非常によく似た質問に出くわしました:
WPFListViewの文字列の先頭の省略記号
誰かが手動でそれを行うルーチンを持っています。お役に立てば幸いです:)