public ListBoxItem(IBaseNode node, int imageIndex = 0)
 {
     Name       = UI_Constants.DataDefinitionName(node);
     Node       = node;
     ImageIndex = imageIndex;
 }
示例#2
0
        protected override string GetName()
        {
            string result = UI_Constants.BranchLabel(this);

            return(result != "" ? result : _Name);
        }