Steven Kirk
9e5bce524c
Fixed D2D render tests.
A few were beoken due to UseLayoutRounding changes and a few were false
negatives due to artifacts. Try using RootMeanSquared as the error
metric and an arbitrary value of 0.02 which seems to be about right from
current data.
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
d6d7de662c
Don't make SelectingItemsControl focusable for now.
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
ff6f3ae7dc
Allow mono test app to run again.
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
b53f29f7e7
Make Perspex.sln only for Windows.
Things weren't working well having dual-targeting projects in VS2015 RC,
so make Perspex.sln just Windows for now.
11 years ago
Steven Kirk
7c6811a136
Cache array sizes.
11 years ago
Steven Kirk
1d617b8cd4
Use Array.GetLength instead of GetUpperBound.
For some reason I used GetUpperBound and added 1 instead of getting the
length. Who knows why. Always use GetLength even when we later subtract
1, to allow comparison to the Moonlight original more easily.
11 years ago
Steven Kirk
afb0ce4a87
Re-enable TreeView horizontal scroll.
11 years ago
Steven Kirk
566e66d848
Removed DeckItem - it's not needed.
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
9a82daac91
Improved DevTools a bit.
11 years ago
Steven Kirk
97f5770920
Started refactoring DevTools.
11 years ago
Steven Kirk
6f940a7b15
Handle nulls in DataTemplate.
11 years ago
Steven Kirk
73f7fdf59d
Round textbox caret to device pixels.
11 years ago
Steven Kirk
6f2b9cd5ec
Added UseLayoutRounding.
11 years ago
Steven Kirk
f429e9f723
Fixed Rectangle snapping.
11 years ago
Steven Kirk
630d0330ea
Ensure we can set double properties with ints.
11 years ago
Steven Kirk
7de4bf836e
Documented newly added classes.
11 years ago
Steven Kirk
aef34f810d
Stylecop fixes.
11 years ago
Steven Kirk
3479dc7b5a
Added missing doc comments.
11 years ago
Steven Kirk
20be4064aa
Stubbed added method in cairo.
11 years ago
Steven Kirk
560707bfe2
Added page slide transition.
11 years ago
Steven Kirk
08aa54e16f
Added Transitions to TabControl.
Currently only one transition available: CrossFadeTransition, which is
demonstrated in the test app.
11 years ago
Steven Kirk
fb0835906a
Re-enable animations in TestApplication.
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
3ef01d954d
Don't perform layout on removed controls.
Ensure the control is still a member of the visual tree before
attempting to measure/arrange it.
11 years ago
Steven Kirk
08da454529
Added a DeckPresenter.
Which displays only the active card.
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
ad49588451
Merge remote-tracking branch 'origin/master' into deck
11 years ago
Steven Kirk
2b661dc420
Set priority for one time bindings.
11 years ago
Steven Kirk
b90c5eb91f
Disable logging in TestApplication.
11 years ago
Steven Kirk
40459f30f2
Merge remote-tracking branch 'origin/master' into deck
11 years ago
Steven Kirk
d6b771bcea
Don't re-focus already focused control.
This actually fixes the TextBox selection problem.
11 years ago
Steven Kirk
50415da22a
Undo last 2 commits - they were wrong.
11 years ago
Steven Kirk
e56252e64f
Stylecop!
11 years ago
Steven Kirk
1fe10092d9
Fix TextBox selection.
11 years ago
Steven Kirk
bf9071dcd0
Fix ScrollBar.Value.
Wasn't being updated inside ListBox and this is why...
11 years ago
Steven Kirk
921b0ca725
Binding.Source may be null.
11 years ago
Steven Kirk
7859588621
Don't use StartWith in GetObservable
As it erases the Description.
11 years ago
Steven Kirk
cffe103acc
Added PerspexObservable.
Similar to Rx's AnonymousObservable that is created using
Observable.Create, but it also implements IDescription. This description
is populated when created by PerspexObject.GetObservable.
11 years ago
Steven Kirk
040f099385
Remove IObservableDescription.
It is superseded by IDescription.
11 years ago
Steven Kirk
8b18504e5e
Use ObservableBase, IDescription for Binding.
11 years ago