TreeView.cs 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. //
  2. // System.Windows.Forms.TreeView
  3. //
  4. // Author:
  5. // stubbed out by Jackson Harper ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System.Drawing;
  11. namespace System.Windows.Forms {
  12. // <summary>
  13. // This is only a template. Nothing is implemented yet.
  14. //
  15. // </summary>
  16. public class TreeView : Control {
  17. //
  18. // --- Public Constructors
  19. //
  20. [MonoTODO]
  21. public TreeView()
  22. {
  23. throw new NotImplementedException ();
  24. }
  25. // --- Public Properties
  26. [MonoTODO]
  27. public override Color BackColor {
  28. get
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. set
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. }
  37. [MonoTODO]
  38. public override Image BackgroundImage {
  39. get
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. set
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. }
  48. [MonoTODO]
  49. public BorderStyle BorderStyle {
  50. get
  51. {
  52. throw new NotImplementedException ();
  53. }
  54. set
  55. {
  56. throw new NotImplementedException ();
  57. }
  58. }
  59. [MonoTODO]
  60. public bool CheckBoxes {
  61. get
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. set
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. }
  70. [MonoTODO]
  71. public override Color ForeColor {
  72. get
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. set
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. }
  81. [MonoTODO]
  82. public bool FullRowSelect {
  83. get
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. set
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. }
  92. [MonoTODO]
  93. public bool HideSelection {
  94. get
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. set
  99. {
  100. throw new NotImplementedException ();
  101. }
  102. }
  103. [MonoTODO]
  104. public bool HotTracking {
  105. get
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. set
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. }
  114. [MonoTODO]
  115. public int ImageIndex {
  116. get
  117. {
  118. throw new NotImplementedException ();
  119. }
  120. set
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. }
  125. [MonoTODO]
  126. public ImageList ImageList {
  127. get
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. set
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. }
  136. [MonoTODO]
  137. public int Indent {
  138. get
  139. {
  140. throw new NotImplementedException ();
  141. }
  142. set
  143. {
  144. throw new NotImplementedException ();
  145. }
  146. }
  147. [MonoTODO]
  148. public int ItemHeight {
  149. get
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. set
  154. {
  155. throw new NotImplementedException ();
  156. }
  157. }
  158. [MonoTODO]
  159. public bool LabelEdit {
  160. get
  161. {
  162. throw new NotImplementedException ();
  163. }
  164. set
  165. {
  166. throw new NotImplementedException ();
  167. }
  168. }
  169. [MonoTODO]
  170. public TreeNodeCollection Nodes {
  171. get
  172. {
  173. throw new NotImplementedException ();
  174. }
  175. }
  176. [MonoTODO]
  177. public string PathSeparator {
  178. get
  179. {
  180. throw new NotImplementedException ();
  181. }
  182. set
  183. {
  184. throw new NotImplementedException ();
  185. }
  186. }
  187. [MonoTODO]
  188. public bool Scrollable {
  189. get
  190. {
  191. throw new NotImplementedException ();
  192. }
  193. set
  194. {
  195. throw new NotImplementedException ();
  196. }
  197. }
  198. [MonoTODO]
  199. public int SelectedImageIndex {
  200. get
  201. {
  202. throw new NotImplementedException ();
  203. }
  204. set
  205. {
  206. throw new NotImplementedException ();
  207. }
  208. }
  209. [MonoTODO]
  210. public TreeNode SelectedNode {
  211. get
  212. {
  213. throw new NotImplementedException ();
  214. }
  215. set
  216. {
  217. throw new NotImplementedException ();
  218. }
  219. }
  220. [MonoTODO]
  221. public bool ShowLines {
  222. get
  223. {
  224. throw new NotImplementedException ();
  225. }
  226. set
  227. {
  228. throw new NotImplementedException ();
  229. }
  230. }
  231. [MonoTODO]
  232. public bool ShowPlusMinus {
  233. get
  234. {
  235. throw new NotImplementedException ();
  236. }
  237. set
  238. {
  239. throw new NotImplementedException ();
  240. }
  241. }
  242. [MonoTODO]
  243. public bool ShowRootLines {
  244. get
  245. {
  246. throw new NotImplementedException ();
  247. }
  248. set
  249. {
  250. throw new NotImplementedException ();
  251. }
  252. }
  253. [MonoTODO]
  254. public bool Sorted {
  255. get
  256. {
  257. throw new NotImplementedException ();
  258. }
  259. set
  260. {
  261. throw new NotImplementedException ();
  262. }
  263. }
  264. [MonoTODO]
  265. public override string Text {
  266. get
  267. {
  268. throw new NotImplementedException ();
  269. }
  270. set
  271. {
  272. throw new NotImplementedException ();
  273. }
  274. }
  275. [MonoTODO]
  276. public TreeNode TopNode {
  277. get
  278. {
  279. throw new NotImplementedException ();
  280. }
  281. }
  282. [MonoTODO]
  283. public int VisibleCount {
  284. get
  285. {
  286. throw new NotImplementedException ();
  287. }
  288. }
  289. // --- Public Methods
  290. [MonoTODO]
  291. public void BeginUpdate()
  292. {
  293. throw new NotImplementedException ();
  294. }
  295. [MonoTODO]
  296. public void CollapseAll()
  297. {
  298. throw new NotImplementedException ();
  299. }
  300. [MonoTODO]
  301. public void EndUpdate()
  302. {
  303. throw new NotImplementedException ();
  304. }
  305. [MonoTODO]
  306. public void ExpandAll()
  307. {
  308. throw new NotImplementedException ();
  309. }
  310. [MonoTODO]
  311. public TreeNode GetNodeAt(Point pt)
  312. {
  313. throw new NotImplementedException ();
  314. }
  315. [MonoTODO]
  316. public TreeNode GetNodeAt(int x, int y)
  317. {
  318. throw new NotImplementedException ();
  319. }
  320. [MonoTODO]
  321. public int GetNodeCount(bool includeSubTrees)
  322. {
  323. throw new NotImplementedException ();
  324. }
  325. [MonoTODO]
  326. public override string ToString()
  327. {
  328. throw new NotImplementedException ();
  329. }
  330. // --- Public Events
  331. [MonoTODO]
  332. public event TreeViewEventHandler AfterCheck;
  333. [MonoTODO]
  334. public event TreeViewEventHandler AfterCollapse;
  335. [MonoTODO]
  336. public event TreeViewEventHandler AfterExpand;
  337. [MonoTODO]
  338. public event NodeLabelEditEventHandler AfterLabelEdit;
  339. [MonoTODO]
  340. public event TreeViewEventHandler AfterSelect;
  341. [MonoTODO]
  342. public event TreeViewCancelEventHandler BeforeCheck;
  343. [MonoTODO]
  344. public event TreeViewCancelEventHandler BeforeCollapse;
  345. [MonoTODO]
  346. public event TreeViewCancelEventHandler BeforeExpand;
  347. [MonoTODO]
  348. public event NodeLabelEditEventHandler BeforeLabelEdit;
  349. [MonoTODO]
  350. public event TreeViewCancelEventHandler BeforeSelect;
  351. [MonoTODO]
  352. public event ItemDragEventHandler ItemDrag;
  353. //public new event PaintEventHandler Paint;
  354. // --- Protected Properties
  355. [MonoTODO]
  356. protected override CreateParams CreateParams {
  357. get
  358. {
  359. throw new NotImplementedException ();
  360. }
  361. }
  362. [MonoTODO]
  363. protected override Size DefaultSize {
  364. get
  365. {
  366. throw new NotImplementedException ();
  367. }
  368. }
  369. // --- Protected Methods
  370. [MonoTODO]
  371. protected override void CreateHandle()
  372. {
  373. throw new NotImplementedException ();
  374. }
  375. //inherited
  376. //protected override void Dispose(bool disposing)
  377. //{
  378. // throw new NotImplementedException ();
  379. //}
  380. [MonoTODO]
  381. protected override bool IsInputKey(Keys keyData)
  382. {
  383. throw new NotImplementedException ();
  384. }
  385. [MonoTODO]
  386. protected virtual void OnAfterCheck(TreeViewEventArgs e)
  387. {
  388. throw new NotImplementedException ();
  389. }
  390. [MonoTODO]
  391. protected virtual void OnAfterCollapse(TreeViewEventArgs e)
  392. {
  393. throw new NotImplementedException ();
  394. }
  395. [MonoTODO]
  396. protected virtual void OnAfterExpand(TreeViewEventArgs e)
  397. {
  398. throw new NotImplementedException ();
  399. }
  400. [MonoTODO]
  401. protected virtual void OnAfterLabelEdit(NodeLabelEditEventArgs e)
  402. {
  403. throw new NotImplementedException ();
  404. }
  405. [MonoTODO]
  406. protected virtual void OnAfterSelect(TreeViewEventArgs e)
  407. {
  408. throw new NotImplementedException ();
  409. }
  410. [MonoTODO]
  411. protected virtual void OnBeforeCheck(TreeViewCancelEventArgs e)
  412. {
  413. throw new NotImplementedException ();
  414. }
  415. [MonoTODO]
  416. protected virtual void OnBeforeCollapse(TreeViewCancelEventArgs e)
  417. {
  418. throw new NotImplementedException ();
  419. }
  420. [MonoTODO]
  421. protected virtual void OnBeforeExpand(TreeViewCancelEventArgs e)
  422. {
  423. throw new NotImplementedException ();
  424. }
  425. [MonoTODO]
  426. protected virtual void OnBeforeLabelEdit(NodeLabelEditEventArgs e)
  427. {
  428. throw new NotImplementedException ();
  429. }
  430. [MonoTODO]
  431. protected virtual void OnBeforeSelect(TreeViewCancelEventArgs e)
  432. {
  433. throw new NotImplementedException ();
  434. }
  435. [MonoTODO]
  436. protected override void OnHandleCreated(EventArgs e)
  437. {
  438. throw new NotImplementedException ();
  439. }
  440. [MonoTODO]
  441. protected override void OnHandleDestroyed(EventArgs e)
  442. {
  443. throw new NotImplementedException ();
  444. }
  445. [MonoTODO]
  446. protected virtual void OnItemDrag(ItemDragEventArgs e)
  447. {
  448. throw new NotImplementedException ();
  449. }
  450. [MonoTODO]
  451. protected override void OnKeyDown(KeyEventArgs e)
  452. {
  453. throw new NotImplementedException ();
  454. }
  455. [MonoTODO]
  456. protected override void OnKeyPress(KeyPressEventArgs e)
  457. {
  458. throw new NotImplementedException ();
  459. }
  460. [MonoTODO]
  461. protected override void OnKeyUp(KeyEventArgs e)
  462. {
  463. throw new NotImplementedException ();
  464. }
  465. [MonoTODO]
  466. protected override void WndProc(ref Message m)
  467. {
  468. throw new NotImplementedException ();
  469. }
  470. }
  471. }