Steven Kirk
c0fc38358f
Refactored templates a bit.
Added interfaces, moved them to Controls.Templates namespace and added
base classes for common Func<> templates.
11 years ago
Steven Kirk
60b6f23aef
Refactored ISelectable behavior into a mixin.
11 years ago
Steven Kirk
a97465b1bd
Test scrollbar auto-hiding.
11 years ago
Steven Kirk
c453ad3b36
Removed Scrollbar binding workaround.
Binding system now handles this. Added unit tests to ensure it works
property.
11 years ago
Steven Kirk
09ef0309b1
Added validation/coercion to RangeBase properties.
11 years ago
Steven Kirk
fba2633ab9
Renamed Decorator.Content property as Child.
11 years ago
Steven Kirk
33696785ab
Forgot to save .csproj after last commit it seems
11 years ago
Steven Kirk
ed3b5df146
Updated stylecop analyser.
11 years ago
Steven Kirk
0c102d6d60
Reinstalled problematic NuGet pkgs.
11 years ago
Steven Kirk
2e54b2be19
Allow Grid column/row definitions to be supplied as a string.
Closes #48 .
11 years ago
Steven Kirk
b740d95e15
Don't try to select items that don't belong to you.
This was breaking DevTools.
11 years ago
Steven Kirk
254eaac9fa
Stylecop fixes.
11 years ago
Steven Kirk
e3533d720b
Fix ListBox selection.
And add a unit test for it.
11 years ago
Steven Kirk
4f98bb5476
Make changing selecting in item work.
Make SelectingItemsControl listen for IsSelectedChangedEvents from child
items and update its selection accordingly.
11 years ago
Steven Kirk
9de4a11e18
Use tab navigation mode of ItemsPresenter
When creating ItemsPresenter's panel
11 years ago
Steven Kirk
43e80392df
Started adding keyboard accessibility to Menu.
Still quite a lot to do.
11 years ago
Steven Kirk
fef04a5f5d
Implemented Menus a bit better.
Now appear correctly in logical tree and use general-purpose mechanisms
rather than direct communication between MenuItems.
11 years ago
Steven Kirk
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
11 years ago
Steven Kirk
31d51123f6
Make Popup children be part of logical tree.
11 years ago
Steven Kirk
fceb9b1ba5
Fix ScrollContentPresenter measure/arrange.
11 years ago
Steven Kirk
deba950eb2
Make sure a render takes place after layout.
11 years ago
Steven Kirk
45c6c9cf02
Fix tooltip sizing.
By fixing TopLevel sizing... Width and Height now work like all other
controls in that they're only set when the window has an explicitly set
size. Don't think SizeToContent is needed? Closes #24 .
11 years ago
Steven Kirk
7f608ffa6c
Fixed failing tests.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
04673d539f
Fix TabControl logical parent.
11 years ago
Steven Kirk
67e6b2eaed
Fixed ScrollPresenter arrange.
And added tests because I think it's about the 5th time I've tried to
get this right...
11 years ago
Steven Kirk
7eceb16220
Fix Border/Decorator measure with no child.
Should return border thickness + padding.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
11 years ago
Steven Kirk
83cad3a98b
Update TabControl template in test.
Tests still failing but no longer because the Deck couldn't be found.
11 years ago
Steven Kirk
39295aa8f2
Removed ItemsControl.MemberSelector.
It didn't work out.
11 years ago
Steven Kirk
2fbf3d0280
Make TabControl use Deck.
11 years ago
Steven Kirk
dd4bd88bd8
Added ItemsPresenter tests.
Needed to allow it to not be part of ItemsControl template to allow
easier testing.
11 years ago
Steven Kirk
d591f0691e
Added Deck control.
11 years ago
Steven Kirk
fbd33a2163
Ensure IsSelected set on ApplyTemplate.
11 years ago
Steven Kirk
d27205716a
Handle deselecting removed items...
in SelectingItemsControl.
11 years ago
Steven Kirk
acb63e425b
Fix ItemsControl :empty class.
11 years ago
Steven Kirk
5600ee32a4
Handle null Items in SelectingItemsControl.
11 years ago
Steven Kirk
41e434e13b
Added SelectedItemsControl.SelectedIndex
11 years ago
Steven Kirk
18ae814775
Make SelectingItemsControl abstract.
As it displays nothing by default.
11 years ago
Steven Kirk
b369c30a2e
Implemented Tab focus.
Should hopefully be the start of a non-hacky tab focus solution.
11 years ago
Steven Kirk
9527f760b2
Updated xunit to 2.0.0.
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
7f1c3e760e
Make DropDown have correct logical children.
11 years ago
Steven Kirk
fb08924070
Make TabControl logical child test pass.
And simplified logic in selecting ContentControl logical child.
11 years ago
Steven Kirk
1c8a53a880
Test correct result from TabControl logical child.
Doesn't actually pass yet...
11 years ago
Steven Kirk
f3e362dddb
Fix DevTools.
And add test to make sure it doesn't happen again.
11 years ago
Steven Kirk
7aa634cbe7
Started adding TemplateExtensions tests.
11 years ago
Steven Kirk
62901f02d5
Started adding ScrollContentPresenter tests.
11 years ago
Steven Kirk
a702b9d372
Started adding ScrollViewer tests.
11 years ago