【问题标题】:disable rows in datagrid silverlight 2.0在 datagrid silverlight 2.0 中禁用行
【发布时间】:2010-11-02 12:35:42
【问题描述】:

我有一个数据网格,当用户尝试编辑一行时,我只想让该行可编辑,而所有其他行都禁用。这可能吗 ?我尝试寻找 datagrid.rows 但没有。

请帮忙

谢谢 赛

【问题讨论】:

    标签: silverlight silverlight-2.0


    【解决方案1】:

    查看BeginEditEndEdit 事件here。如果默认行为没有阻止您在当前编辑其他行时编辑其他行,您应该能够在这些事件中放置一些代码以禁用在编辑模式下选择其他行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-11-27
      • 2011-04-21
      • 2011-03-22
      • 1970-01-01
      • 2010-12-20
      • 2011-09-14
      • 1970-01-01
      相关资源
      最近更新 更多