You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
560 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Windows.Automation;
  6. using System.Windows.Automation.Peers;
  7. namespace ICSharpCode.TreeView
  8. {
  9. class SharpTreeViewAutomationPeer : FrameworkElementAutomationPeer
  10. {
  11. internal SharpTreeViewAutomationPeer(SharpTreeView owner ): base(owner)
  12. {
  13. }
  14. //private SharpTreeView SharpTreeView { get { return (SharpTreeView)base.Owner; } }
  15. protected override AutomationControlType GetAutomationControlTypeCore()
  16. {
  17. return AutomationControlType.Tree;
  18. }
  19. }
  20. }