【问题标题】:Insert new item into WPF listbox before the old items在旧项目之前将新项目插入 WPF 列表框
【发布时间】:2012-08-05 13:18:05
【问题描述】:

如何在旧项目之前将新项目插入 WPF 列表框

喜欢old text 然后我添加

new text 

old text

改为

old text 

new text

【问题讨论】:

标签: c# wpf listbox


【解决方案1】:
ListBox.Items.Insert(0, "Message");

这样的?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-10-18
    • 1970-01-01
    • 1970-01-01
    • 2021-10-09
    • 1970-01-01
    • 2011-02-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多