wong wong - 1 year ago 169
C# Question

c# Ultratree how to selected child node different parent node

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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download