External/Aga.Controls/Tree/ITreeModel.cs
author moel.mich
Thu, 26 Jul 2012 06:50:56 +0000
changeset 376 df64b56ece65
permissions -rw-r--r--
Fixed an error where loading config files from previous versions would crash the application.
moel@345
     1
using System;
moel@345
     2
using System.Collections.Generic;
moel@345
     3
using System.Text;
moel@345
     4
using System.Collections;
moel@345
     5
moel@345
     6
namespace Aga.Controls.Tree
moel@345
     7
{
moel@345
     8
	public interface ITreeModel
moel@345
     9
	{
moel@345
    10
		IEnumerable GetChildren(TreePath treePath);
moel@345
    11
		bool IsLeaf(TreePath treePath);
moel@345
    12
moel@345
    13
		event EventHandler<TreeModelEventArgs> NodesChanged; 
moel@345
    14
		event EventHandler<TreeModelEventArgs> NodesInserted;
moel@345
    15
		event EventHandler<TreeModelEventArgs> NodesRemoved; 
moel@345
    16
		event EventHandler<TreePathEventArgs> StructureChanged;
moel@345
    17
	}
moel@345
    18
}