-2

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
Niranjan Singh
  • 18,017
  • 2
  • 42
  • 75
wong
  • 53
  • 1
  • 5
  • You can do it by setting it's selection related properties if you are asking about infragistics treeview control – Niranjan Singh Nov 01 '16 at 10:32
  • You need to show the code you have written so far and ask a question on a specific problem you are having. This isn't a code writing service. – Steve Nov 01 '16 at 10:38
  • @NiranjanKala i set selectiontype = extended but ultratree can only mupltple selected same parent – wong Nov 01 '16 at 10:45

1 Answers1

1

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..

Niranjan Singh
  • 18,017
  • 2
  • 42
  • 75