0

您好,截图说明: 替代文字

为什么物品会变得这么高?我不给自己定位:

    <ListBox Margin="6" ItemsSource="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}, Path=Segments}">
    </ListBox>

没有 ItemTemplate 或者我依赖默认ToString()行为。

4

1 回答 1

0

抱歉,我发现了问题。每行都被换行符包围。

我没有立即看到它,因为数据是通过外部程序的 IPC 调用返回的。

于 2010-10-13T20:20:41.063 回答