Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
Steven Kirk
4e9fe88c27
Added missing Materialized event invocation.
In TreeContainerIndex. Also add TODO concerning ItemContainerEventArgs.
10 years ago
Steven Kirk
259144838c
Set item container properties with Style priority.
So that they can be overridden by styles.
10 years ago
Steven Kirk
1d83126d20
More WIP on virtualization.
Kinda nearly working in the test app.
10 years ago
Steven Kirk
f9b3d2ac03
WIP: Adding virtualization to ItemsPresenter.
10 years ago
Steven Kirk
57a0122549
Make ItemTemplate work for TreeView.
10 years ago
Steven Kirk
5cd9b98057
Added ItemsControl.ItemTemplate property.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
813ff6fcea
Handle TreeDataTemplate.ItemsSelector == null.
10 years ago
Steven Kirk
093dd452e5
Return InstancedBinding from TreeDataTemplate.
This hopefully fixes the part of issue #284 related to TreeDataTemplate.
MemberSelector needs a similar fix.
10 years ago
Steven Kirk
8c9a2e89ad
Make DataTemplate-created TreeViewItems namescopes.
Closes #463 .
10 years ago
Steven Kirk
92bca08e3b
Correctly maintain TreeContainerIndex.
Fixes #434
10 years ago
Steven Kirk
3e6402711c
Make TreeViewItem.IsExpanded bindings work.
10 years ago
Steven Kirk
5773704f2d
Started updating DevTools to use XAML.
10 years ago
Steven Kirk
3bfba9c8ce
Ensure TreeViewItems are removed from index.
When TreeViewItem is removed from TreeView.
10 years ago
Steven Kirk
78abef1551
Tidied up tree item container generators.
In doing so fixed a bug in DevTools where tree items would become
unselectable.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 years ago
Steven Kirk
71973cabb1
Fix removing items from ItemsControl.
10 years ago
Steven Kirk
6a005d35c8
Make TreeView selection work etc.
Unfortunately stuff is still broken - I think ItemContainerGenerator
needs a refactor.
10 years ago
Steven Kirk
53926a47bf
Refactored ItemContainerGenerator<T>.
To allow TreeItemContainerGenerator to inherit from it.
10 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
10 years ago
Steven Kirk
19498ab03d
Correctly set TreeView item DataContexts.
Also added a few tests for TreeView.
10 years ago
Steven Kirk
ad1b92cd77
Implemented ClearContainers for TreeView.
10 years ago
Steven Kirk
a0509caede
Renamed TreeDataTemplate -> FuncTreeDataTemplate.
11 years ago
Steven Kirk
292a04d973
Renamed DataTemplate -> FuncDataTemplate.
11 years ago
Steven Kirk
338a1c0d91
Added ItemsControl.MemberSelector
And use it to select the TabItem.Content property for the Deck in a
TabControl.
11 years ago
Steven Kirk
7cc5ee5dcc
Removed unused itemTemplate parameter.
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
12c8d3712d
Make TreeView work again, to an extent.
Still a bit of a hack: needs doing properly at some point.
11 years ago
Steven Kirk
ff331693f0
Started refactoring SelectingItemsControl.
11 years ago
Steven Kirk
f2aa9fdd84
Moved DataTemplateExtensions to Templates n.s.
11 years ago
Steven Kirk
e0960f5891
Added IDataTemplate interface.
11 years ago
Steven Kirk
76ba899dbd
Make templates etc get applied on measure.
Instead of when iterating visual children. This because everything is
likely to be set up by that point.
11 years ago
Steven Kirk
1143fcf0f6
Fix tree item container generator.
12 years ago
Steven Kirk
c7a6582501
Lots of changes involving ItemsControls.
Added ItemContainerGenerator mainly...
12 years ago