ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl.GetLabel C# (CSharp) Method

GetLabel() public method

public GetLabel ( TreeNodeAdv node ) : string
node TreeNodeAdv
return string
        public string GetLabel(TreeNodeAdv node)
        {
            if (node != null && node.Tag != null)
            {
                object obj = GetValue(node);
                if (obj != null)
                    return FormatLabel(obj);
            }
            return string.Empty;
        }