Example #1
0
        public wTreeNodeItem Add(Image image, int width, int height, ImageEditorTypes imageEditor = ImageEditorTypes.None, EditorActivateActions activationAction = EditorActivateActions.UseBasicSetting)
        {
            wTreeNodeItem item = new wTreeNodeItem(_parent, image, width, height)
            {
                ImageEditorType = imageEditor, EditorActivateAction = activationAction
            };

            Add(item);
            return(item);
        }
Example #2
0
        public wTreeNodeItem Add(String text, TextEditorTypes textEditor = TextEditorTypes.None, EditorActivateActions activationAction = EditorActivateActions.UseBasicSetting)
        {
            wTreeNodeItem item = new wTreeNodeItem(_parent, text)
            {
                TextEditorType = textEditor, EditorActivateAction = activationAction
            };

            Add(item);
            return(item);
        }
Example #3
0
        public wTreeNodeItem Add(ICollection <String> text, int selectedIndex = 0, TextArrayEditorTypes textEditor = TextArrayEditorTypes.None, EditorActivateActions activationAction = EditorActivateActions.UseBasicSetting)
        {
            wTreeNodeItem item = new wTreeNodeItem(_parent, text, selectedIndex)
            {
                TextArrayEditorType = textEditor, EditorActivateAction = activationAction
            };

            Add(item);
            return(item);
        }