-2

我使用 c# 语言和 Visual Studio 制作 windows 应用程序

我需要选择多个节点不同的父节点

我需要这样做

  • 父母甲
    • 节点 1 <-选中
    • 节点 2
  • 父母乙
    • 节点 1
    • 节点 2 <-选中
  • 父 C
    • 节点 1 <-选中
    • 节点 2
4

1 回答 1

1

试试这些设置:

        // Allow the end user to select multiple nodes.
        this.ultraTreeView1.Override.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Extended;
        // Allow the end user to select nodes in different levels of the tree.
        this.ultraTreeView1.SelectionBehavior = Infragistics.Win.UltraWinTree.SelectionBehavior.ExtendedAcrossCollections;

希望这有帮助..

于 2016-11-01T10:52:57.397 回答