当前位置: 动力学知识库 > 问答 > 编程问答 >

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

网友答案:

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

分享给朋友:
您可能感兴趣的文章:
随机阅读: