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
Steven Kirk
f1150c95a2
Use ObservableBase for StyleBinding.
Also use IDescription instead of IObservableDescription as
IObservableDescription is about to be deleted.
11 years ago
Steven Kirk
20a86e1564
Added scroll viewer to devtools property pane.
11 years ago
Steven Kirk
eec24ba0d3
Merge remote-tracking branch 'origin/master' into deck
11 years ago
Steven Kirk
8636935b22
Fix bug in PerspexReadOnlyList.
The source collection is not guaranteed to implement IList so do an
explicit .ToList() on it.
11 years ago
Steven Kirk
d591f0691e
Added Deck control.
11 years ago
Steven Kirk
a4c88ca764
Reworked bindings.
Now, two way bindings work as expected and setting a local value on a
property with a binding sets the value temporarily until the binding
changes value.
11 years ago
Steven Kirk
0e4219ecb9
Set default value for SelectedIndex.
11 years ago
Steven Kirk
fbd33a2163
Ensure IsSelected set on ApplyTemplate.
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
55fbe43214
Fix SelectingItemsControl.CoerceSelectedItem
11 years ago
Steven Kirk
ad7eed9bd1
Prevent stack overflow.
11 years ago
Steven Kirk
d27205716a
Handle deselecting removed items...
in SelectingItemsControl.
11 years ago