public void UnCheckAll() { BeginUpdate(); TreeNode[] tree = TreeViewUtils.ToPlainArray(m_tree); m_checked.Clear(); foreach (TreeNode node in tree) { node.Checked = false; } EndUpdate(); Invalidate(); base.Value = CalculateValue(); }