Steven Kirk
62901f02d5
Started adding ScrollContentPresenter tests.
11 years ago
Steven Kirk
a702b9d372
Started adding ScrollViewer tests.
11 years ago
Steven Kirk
5a1aca2876
Make template find methods to extension class.
11 years ago
Steven Kirk
ccf4f06a93
Clarified ContentControl not having a presenter.
I kept wondering why I'd written it that way.
11 years ago
Steven Kirk
d25c4e0b4c
Some work on TabControl/TabStrip.
11 years ago
Steven Kirk
50c49c87d5
Fixed failing test.
Can't do a TakeWhile because GetVisualDescendents() goes depth-first
instead of breadth-first
11 years ago
Steven Kirk
574c7a9113
Fixed according to TODO.
11 years ago
Steven Kirk
2417ac1077
Trying to sort out logical tree for ItemsControls.
Not yet complete.
This reverts commit 7a55e20f98 .
The reason that searching for template controls needs to search nested
templates is because e.g. an ItemsPresenter may be nested inside a
ScrollViewer.
11 years ago
Steven Kirk
5b11c9f851
Fix bug in tree view style.
ItemsPresenter didn't have an ID. Also don't return null for logical
children of an ItemsControl with no presenter.
11 years ago
Steven Kirk
3589e532f3
Reinstated SelectorTests_Template.
11 years ago
Steven Kirk
9f68e2f2db
Reinstated SelectorTests_Multiple.
11 years ago
Steven Kirk
c06fccefc2
Reinstated commented out StyleTests.
11 years ago
Steven Kirk
a4bf79b7cc
Moved tests to Tests subdir.
11 years ago
Steven Kirk
0efb0a407e
Added Windows-only solution.
11 years ago
Steven Kirk
eee919bded
Visual studio marked test projects with guid.
11 years ago
Steven Kirk
1a3a78847b
Converted tests to run with xUnit.
11 years ago
Steven Kirk
b28b5e5a23
Tidied up Presenter/TemplatedParent logic a bit.
11 years ago
Steven Kirk
df08657e71
Tidied up ItemsControl logical parenting a bit.
11 years ago
Steven Kirk
6de73cc1b7
Fixed test: Window now autosizes.
11 years ago
Steven Kirk
a54f962df2
Moved some TemplatedControl test to right place.
11 years ago
Steven Kirk
57dab3d7d0
Set dropdown popup min width.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
3441a64876
Removed unused members.
11 years ago
Steven Kirk
5b77f5412f
PerspexList now notifies of cleared items.
11 years ago
Steven Kirk
8d2006c968
Make dropdown close on click.
11 years ago
Steven Kirk
b42d472b65
Added class RoutedEvent handlers.
11 years ago
Steven Kirk
0cfc1ff744
Use IInteractive instead of Interactive.
Best to use interfaces where possible.
11 years ago
Steven Kirk
2084edafb4
Fix dev tools hack.
This fixes the problem hacked around in
41fe7e28aa . In the end the problem wasn't
ScrollViewer, it was that the correct size wasn't being passed to
Window.Arrange.
11 years ago
Steven Kirk
3ef1114187
Fix window activation.
11 years ago
Steven Kirk
467dd1b318
Revert "Fix scrollviewer causing lockups."
This reverts commit 18e3900edc .
11 years ago
Steven Kirk
18e3900edc
Fix scrollviewer causing lockups.
Add a throttle to showing/hiding scrollbars to prevent them flashing on
and off.
11 years ago
Steven Kirk
274ff5cebf
Only return initial PP value once.
11 years ago
Steven Kirk
450141a1d8
Make Perspex.Gtk compile again.
11 years ago
Steven Kirk
41fe7e28aa
Hack dev tools to work again.
Need to fix the root layout problem that hangs it though.
11 years ago
Steven Kirk
869f4a4421
Make dev tools run on this machine.
Not sure what's different about this machine, but the dev tools wasn't
showing. Adding this line makes the window show at least.
11 years ago
Steven Kirk
8218d18bc2
Make GetSetValues return PerspexPropertyValues.
11 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
11 years ago
Steven Kirk
e2a67e42c7
Prevent popup from deactivating parent window.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
7a55e20f98
Fix GetTemplateControls
Make it return only controls that in the immediate template. Not sure
why it was returning nested templated controls before. The may have been
a reason but everything still seems to work like this...
11 years ago
Steven Kirk
7a8a9123c3
Implement ILogical on DropDown.
11 years ago
Steven Kirk
547d58b5ce
Merge remote-tracking branch 'origin/master' into dropdown
11 years ago
Steven Kirk
e70f4363ac
Make items show in dropdown.
11 years ago
Steven Kirk
1b1d60d0c0
Make popup appear in right place.
11 years ago
Steven Kirk
06bf45ace3
Initial implementation of dropdown.
The popup appears in the wrong place, has placeholder content and steals
the main window focus, but it appears!
11 years ago
Steven Kirk
1cf16d42f2
Fix compile on VS2015 CTP.
12 years ago
Steven Kirk
89e8871e90
Added logical tree extension methods.
11 years ago
Steven Kirk
e0960f5891
Added IDataTemplate interface.
11 years ago
Steven Kirk
387cf41747
Fix compile on VS2015 CTP.
12 years ago