Commit Graph

9 Commits

Author SHA1 Message Date
tznind
2884b8e94d Added horizontal scrollbar, fixed tests 2021-01-24 10:35:03 +00:00
tznind
dc184ba469 Changed from object to generic <T> for TreeView 2020-12-16 12:04:46 +00:00
tznind
8fe8128b0b Replaced delegates with new interface ITreeBuilder 2020-12-15 09:37:59 +00:00
tznind
5dad1d2221 Added test for TreeNode usage 2020-12-14 07:30:13 +00:00
tznind
7af2763f43 Added method RebuildTree
Similar to RefreshObject but for all visible branches.  Call this method when making large scale changes behind the scenes to objects including hierarchy changes.
2020-12-09 13:24:30 +00:00
tznind
8ce042eb52 Fixed RefreshObject when Equality method is overridden in model objects
Now when you call RefreshObject the Branch.Model is always updated to the latest reference even when Equals indicates we already have it in children
2020-12-08 14:13:27 +00:00
tznind
2bd3f76553 Added GetChildren and GetParent 2020-12-08 14:11:55 +00:00
tznind
b75b79b068 Added RefreshObject and IsExpanded
RefreshObject notifies tree of changes to a model (e.g. it's children) and clears cached knowledge but persists the branch expansion state
2020-12-02 15:10:54 +00:00
tznind
148b4d2784 Made ScrollOffset setter public and added helper method and tests 2020-12-02 13:28:46 +00:00