【发布时间】:2011-04-25 01:26:20
【问题描述】:
你好,截图解释了它:
为什么物品会变得这么高?我自己没有定位:
<ListBox Margin="6" ItemsSource="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}, Path=Segments}">
</ListBox>
没有 ItemTemplate 我依赖默认的 ToString() 行为。
【问题讨论】:
-
只是猜测,但有时某些奇怪的 Unicode 字符会导致行高上升。
标签: wpf height listboxitem