C#C
C#3y ago
6 replies
Mek

✅ How to "preview" text in a DataGrid

<DataGridTextColumn CanUserReorder="False" CanUserResize="False" Width="*" Header="Diary Entry" Binding="{Binding Description}" />
How would I go about setting the description to only show like the first 10 words and trail off with a
. . .
like for example
Date     | Time    | Title            | Description
08/12/23 | 6:54 PM | My Awesome Title | Some Entry Leading and Ending With. . .
Was this page helpful?