Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO: Determine whether two FOVTreeNode instances represent the same underlying node.

 
Subscribe to the RSS feed for this forum  Forum Index -> FolderView.Net/WPF
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Jun 21, 2008 4:37 am    Post subject: HOWTO: Determine whether two FOVTreeNode instances represent the same underlying node.

Many different properties, methods and events return FOVTreeNode instances. To determine whether two instances represent the same underlying node in FolderView, use the ID property as follows :

[C#]
if(node1.ID == node2.ID)
{
// The same node
..
..
}


[VB .Net]
If IntPtr.Equals(node1.ID, node2.ID) Then
' The same node
..
..
End If
Back to top
Display posts from previous:   
Forum Index -> FolderView.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group