问题描述:

i use c# language and Visual studio to make windows application

i need to selected multiple node different parent

i need to do like this

  • parent A

    • node 1 <-selected
    • node 2
  • parent B

    • node 1
    • node 2 <-selected
  • parent C

    • node 1 <-selected
    • node 2

网友答案:

Try these settings:

        // 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;

Hope this help..

相关阅读:
Top