1
我有一個類,它看起來像這樣:如何重新排列UltraTree中的節點?
public class GeneralStatusInfo
{
public List<string> List_BLNumber { get; set; }
public List<POInfo> List_PONumbers { get; set; }
public List<string> List_Pickup { get; set; }
public List<string> List_Origin { get; set; }
public List<string> List_Destination { get; set; }
public List<string> List_NotifyName { get; set; }
public List<AppmntInformation> List_Appointments { get; set; }
}
當我綁定這樣的數據:
List<GeneralStatusInfo> statusBind = new List<GeneralStatusInfo>();
statusBind.Add(status);
utGeneralStatusInfo.DataSource = statusBind;
SetupTree(status);
它把我的父節點以不同的順序:
Appointment
P/O Number
B/L Number
Origin
Pickup
Notify
Payment
Destination
如何對節點重新排序,使它們以我在課堂中使用的相同順序出現?