Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="isChecked"></param>
        /// <param name="checkBoxActiveAction">체크박스가 반응할 Event</param>
        /// <returns></returns>
        public wTreeNodeItem Add(bool?isChecked, CheckboxActiveActions checkBoxActiveAction = CheckboxActiveActions.Click)
        {
            wTreeNodeItem item = new wTreeNodeItem(_parent, isChecked, checkBoxActiveAction);

            Add(item);
            return(item);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 체크박스.
 /// </summary>
 /// <param name="ownerNode">부모노드</param>
 /// <param name="check"></param>
 /// <param name="checkboxActiveAction"></param>
 internal wTreeNodeItem(wTreeNode ownerNode, bool?check, CheckboxActiveActions checkboxActiveAction)
 {
     _type                 = wTreeNodeItemTypes.CheckBox;
     _isChecked            = check;
     _ownerNode            = ownerNode;
     _checkBoxActiveAction = checkboxActiveAction;
     Init();
 }