The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
SBSweatha Bharathi Syncfusion Team June 29, 2023 11:55 AM UTC
Bruce Halpern ,
Your requirement,
"Single Left Mouse Click on Node Text to Expand/Collapse Node," can
be achieved by using the mouseclick event. We have provided a sample based on your
requirement. Please review the sample and let us know if you have any further
concerns. See the code snippet below:
PrivateSub TreeViewAdv1_MouseClick(ByVal sender AsObject, ByVal e As MouseEventArgs)
If e.Button = MouseButtons.Left Then
Dim clickedNode =
treeViewAdv1.GetNodeAtPoint(e.Location)
It worked, although I had to change the first line to:
Private Sub
TreeViewAdv1_MouseClick(sender As Object, e As MouseEventArgs) Handles
TreeViewAdv1.MouseClick
Thank you.
SBSweatha Bharathi Syncfusion Team June 30, 2023 12:05 PM UTC
Bruce Halpern ,
If you are satisfied with our response, please mark it as an
answer. Otherwise, please let us know if you have any further queries on this.
We are happy to help you😊.
Need More Help?
Get personalized assistance from our support team.