C1TreeColumn behave like a link

Posted by: yonit.chavshosh on 29 January 2019, 4:34 am EST

    • Post Options:
    • Link

    Posted 29 January 2019, 4:34 am EST

    hi,

    Can I Set C1TreeColumn to behave like a link

    and open another form according to node properties?

    Thanks,

    Yonit

  • Posted 30 January 2019, 6:06 am EST

    Hi Yonit,

    Please refer the HyperlinksInNodes sample at the default location: C:\Users[UserName]\Documents\ComponentOne Samples\WinForms\C1TreeView\CS\HyperlinksInNodes

    This should help you understand how to create links associated with nodes.

    Further, you can also use the SelectionChanged event of TreeView to display a form on selecting a certain node. This has been implemented in the attached sample. Note that this cannot be set for the C1TreeColumn instance specifically, but for the C1TreeView node i.e. C1TreeNode.

    Best Regards,

    Esha

    prj_TreeView.zip

  • Posted 31 January 2019, 4:14 am EST

    Hi Esha,

    Thank you for clear reply

    I dont have HyperlinksInNodes samples

    My version is 20163.2.7

    Can I do it in this version?

    Thanks,

    Yonit

  • Posted 1 February 2019, 2:12 am EST

    Yonit,

    I am attaching the sample for your reference but unfortunately, it cannot be used with 2016 V3 builds as it contains a number of classes and properties that did not exist during that version.

    Let me know if you need further assistance.

    Best Regards,

    Esha

    HyperlinksInNodes.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels