I presume the TreeView is pretty ready. I also presume it follows closely the Windows Forms TreeView control.
I’m porting my BoundTreeView control from Windows Forms to Wisej. Since Wisej follows closely Windows Forms, I think this would be easier than port the VWG version.
I’ll list some properties that are missing on the Wisej control.
pt: The System.Drawing.Point to evaluate and retrieve the node from.
The System.Windows.Forms.TreeNode at the specified point, in tree view (client) coordinates, or null if there is no node at that location.
The ImageIndex and ImageKey properties refer to the index or key name of the image in the associated ImageList. The TreeView can set node images at the TreeView level or the single node by referring to the TreeView.ImageList. When adding images to the ImageList, you can specify either an Image object or an ImageSource name/url/file. The ImageList also lets you normalize the size of all the included images.
Issue WJ-7315 was completed 20 Jun 2016.
System.Windows.Forms.TreeNode GetNodeAt(Point pt)
If this method is needed to manage ItemDrag/DragDrop events, we have a new property DragEventArgs.DropTarget that refers to the node that is the target of a drag drop operation (unlike WinForms where you had to find it using GetNodeAt).
What is the Wise J equivalent of
private void trv_Reports_BeforeExpand(object sender, TreeViewCancelEventArgs e)
LoadReports(e.Node.Nodes, e.Node.Tag as string);
e.Node.Loaded = true;
Loaded does not exist