Thanks for the comments, John.
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of John Brett
Sent: Friday, May 02, 2008 6:27 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] CustomNodeSorter for TreeView
> // Separate folders from other nodes.
> if ( tix.IsFolder & !tiy.IsFolder )
It may be a typo on your part, and it probably doesn't have any
functional effect in this case, but you should use '&&' for logical
AND in this kind of expression, rather than '&' for bitwise AND.
] CustomNodeSorter for TreeView...
I'm having trouble correctly implementing a CustomNodeSorter for a
treeview control.
I've got a TreeView control where each TreeNode has as its Tag an object
(TreeItem) that I made. One of the properties of TreeItem is 'IsFolder'
for indicating
I'm having trouble correctly implementing a CustomNodeSorter for a
treeview control.
I've got a TreeView control where each TreeNode has as its Tag an object
(TreeItem) that I made. One of the properties of TreeItem is 'IsFolder'
for indicating if the TreeNode acts as a folder in the custom treev