ChildrenTreeChangedEventArgs.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*************************************************************************************
  2. Extended WPF Toolkit
  3. Copyright (C) 2007-2013 Xceed Software Inc.
  4. This program is provided to you under the terms of the Microsoft Public
  5. License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
  6. For more features, controls, and fast professional support,
  7. pick up the Plus Edition at http://xceed.com/wpf_toolkit
  8. Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
  9. ***********************************************************************************/
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Text;
  14. namespace Xceed.Wpf.AvalonDock.Layout
  15. {
  16. public enum ChildrenTreeChange
  17. {
  18. /// <summary>
  19. /// Direct insert/remove operation has been perfomed to the group
  20. /// </summary>
  21. DirectChildrenChanged,
  22. /// <summary>
  23. /// An element below in the hierarchy as been added/removed
  24. /// </summary>
  25. TreeChanged
  26. }
  27. public class ChildrenTreeChangedEventArgs : EventArgs
  28. {
  29. public ChildrenTreeChangedEventArgs(ChildrenTreeChange change)
  30. {
  31. Change = change;
  32. }
  33. public ChildrenTreeChange Change { get; private set; }
  34. }
  35. }