Ejemplo n.º 1
0
 private string GetDragText(TreeNode node, string[] pathOfPropertyNames)
 {
     for (int i = 0; i < pathOfPropertyNames.Count(); i++)
     {
         string propertyPath = pathOfPropertyNames[i];
         string dragText = node.ToDragText(propertyPath);
         if (string.IsNullOrEmpty(dragText))
         {
             continue;
         }
         return dragText;
     }
     return "";
 }