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.
我在基础架构网格中遇到问题,我有 html 字符串,我在网格中显示它在列中正确显示但我面临以下两个问题
对于 Winforms UltraGrid 尝试:
yourGrid.DisplayLayout.Override.CellAppearance.TextTrimming = TextTrimming.EllipsisCharacter;
对于 XamDataGrid 尝试:
<Style TargetType="{x:Type igWpf:SimpleTextBlock}"> <Setter Property="TextTrimming" Value="CharacterEllipsis"/> </Style>