Miha Markič
|
1524cb1aba
|
Spellchecks comments and members, removes unused using statements and sorts them
|
8 years ago |
Steven Kirk
|
9e2e266d3c
|
Handle navigation in TreeView.
|
8 years ago |
Steven Kirk
|
64ed0761c7
|
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
|
8 years ago |
Goldy
|
6dd497bbc8
|
Code improvement
Removed unused or duplicated code
|
9 years ago |
Dan Walmsley
|
c8e6bd5809
|
Fix using dispatcher timer with 0 time interval causing exception.
|
9 years ago |
Steven Kirk
|
c4aa2197b2
|
Fixed TreeView navigation.
Fixes #277.
|
9 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
|
3e3134217c
|
Fixed name of PointerPressedEventArgs.
|
10 years ago |
Steven Kirk
|
6f32c868d9
|
SelectingItemsControl.AutoScrollToSelectedItem
Added SelectingItemsControl.AutoScrollToSelectedItem. Closes #363.
|
10 years ago |
Steven Kirk
|
1202eaa876
|
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
|
10 years ago |
Steven Kirk
|
0faeaf47e3
|
Scroll newly selected tree view node into view.
|
10 years ago |
Steven Kirk
|
ff9a622cd1
|
TreeViewItem may not be created when SelectedIndex set.
|
10 years ago |
Steven Kirk
|
bfb334ca5e
|
Ensure TreeViewItem.IsSelected is set.
When TreeView.SelectedItem changes.
|
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.
|
11 years ago |
Steven Kirk
|
db1e20acc8
|
Only allow pseudoclasses to be set by control.
Limit adding/removing pseudoclasses to IPseudoClasses interface.
|
11 years ago |
Steven Kirk
|
5d2658d856
|
Make IStyleable.Classes an IPerspexReadOnlyList.
So we can mock it.
|
11 years ago |
Steven Kirk
|
92f8ce6f47
|
Added TreeView static ctor.
To work around SelectedItem not being found in Release build.
|
11 years ago |
Steven Kirk
|
6a005d35c8
|
Make TreeView selection work etc.
Unfortunately stuff is still broken - I think ItemContainerGenerator
needs a refactor.
|
11 years ago |
Steven Kirk
|
53926a47bf
|
Refactored ItemContainerGenerator<T>.
To allow TreeItemContainerGenerator to inherit from it.
|
11 years ago |
Steven Kirk
|
d41260c6b7
|
Use same property for SelectedItemProperty
On SelectingItemsControl and TreeView.
|
11 years ago |
Nikita Tsukanov
|
21a3554260
|
Change property getter to expression properties
|
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
|
e320148952
|
Removed AdornerTemplate.
Use ITemplate<IControl>.
|
11 years ago |
Steven Kirk
|
84924dee3c
|
Added IPanel interface.
|
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
|
cb09e555b6
|
Set TreeView selection on item focus.
|
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
|
3010bc76fb
|
Use IItemContainerGenerator interface.
Instead of ItemContainerGenerator class.
|
11 years ago |
Steven Kirk
|
ff331693f0
|
Started refactoring SelectingItemsControl.
|
11 years ago |
Steven Kirk
|
ee8c211683
|
Renamed PerpexProperty coercion as validation.
As it can be used to invalidate a property change by throwing an
exception as well as coerce the value.
|
11 years ago |
Steven Kirk
|
aef34f810d
|
Stylecop fixes.
|
11 years ago |
Steven Kirk
|
e2c11c782d
|
Fix TreeView selection.
TreeView cannot inherit from SelectingItemsControl as it makes no sense
to have a SelectedIndex property.
|
11 years ago |
Steven Kirk
|
a833a5e883
|
Stylecop fixes.
Also added solution-wide stylecop settings.
|
12 years ago |
Steven Kirk
|
9ae20bd73b
|
Hacky keyboard navigation for TreeView.
|
12 years ago |
Steven Kirk
|
9a1c5825d4
|
Added ListBox.
And moved all item selecting logic etc in SelectingItemsControl where it
should be.
|
12 years ago |
Steven Kirk
|
ec0b43d388
|
Added Controls.Primitives namespace
For controls that are only supposed to be used as the base for other
controls.
|
12 years ago |
Steven Kirk
|
491dfa58bd
|
Move presenters to own namespace.
To try and discourage their use outside control templates.
|
12 years ago |
Steven Kirk
|
23ade729a5
|
Basic display of set properties in DevTools.
|
12 years ago |
Steven Kirk
|
c7a6582501
|
Lots of changes involving ItemsControls.
Added ItemContainerGenerator mainly...
|
12 years ago |
Steven Kirk
|
ced25df067
|
WIP
|
12 years ago |
Steven Kirk
|
bfadaac5d9
|
Non-building checkpoint in MAJOR refactor.
|
12 years ago |
Steven Kirk
|
c5566a19d3
|
Track changes to collections in ItemsControl.
And add a simple UI to test adding nodes to tree view.
|
12 years ago |
Steven Kirk
|
3827459f99
|
Allow selection of tree view items.
|
12 years ago |
Steven Kirk
|
0cf5cf6abc
|
More work on TreeView.
|
12 years ago |
Steven Kirk
|
c9ee3847ce
|
TreeView work in progress...
|
12 years ago |