Steven Kirk
624a7cf962
Trying to fix intermittent test failure.
10 years ago
Steven Kirk
f62f32c83c
Allow {StyleResource} in setter.
10 years ago
Steven Kirk
d1cbc3fa22
Added failing test.
10 years ago
Steven Kirk
be8e650184
Fix non-compiling tests.
10 years ago
Steven Kirk
338b71b204
Moved IVisual to Perspex.VisualTree.
10 years ago
Steven Kirk
a72c3e46bf
Moved ILogical to Perspex.LogicalTree.
10 years ago
Steven Kirk
19af37a6af
Started adding StyleResource markup extension.
OmniXAML issue #84 is now blocking us.
10 years ago
Steven Kirk
d0efd0c6d4
Clear TemplatedParent of ex-template children.
This prevents them still being bound to their ex-TemplatedParent. Fixes
#435 .
10 years ago
Steven Kirk
03c7cb5456
Handle inserts into ItemsControl items.
Fixes #431 .
10 years ago
Steven Kirk
8b9693d996
Don't throw in LogicalNotNode.SetValue.
Instead return false to indicate the write failed.
10 years ago
Steven Kirk
127133eb89
Added enum conversions to DefaultValueConverter.
10 years ago
Steven Kirk
8233f4df18
Support default binding mode on direct properties.
10 years ago
Steven Kirk
6b06d0ee4c
Started adding Style resources.
Added Style.Resources and confirmed that Color can be added to the
resources. However, SolidColorBrush doesn't work - needs a fix from
OmniXAML.
10 years ago
Steven Kirk
2577855b09
Correctly resolve attached properties.
Design.Width/Height was getting written to Width/Height. Should fix
#428 .
10 years ago
danwalmsley
8c7412232c
Seperated testing of null and empty string triggering PropertyChangedEvent.
10 years ago
danwalmsley
ec9da47d6a
supporting null or string.empty to trigger property notifications.
10 years ago
Steven Kirk
8eb4f30c6d
Added Tapped and DoubleTapped gestures.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago
Steven Kirk
a03dad9bab
Removed a bunch of unused members/classes.
10 years ago
Steven Kirk
a2b9309bf2
Reinstalled Moq.
Something was wrong with it.
10 years ago
Steven Kirk
2df9a0d9f4
Forgot to save .csprojs.
10 years ago
Steven Kirk
eec9a1f44a
Added shared TestRoot class.
And use it in every unit test project except SceneGraph as that one is
different.
10 years ago
Steven Kirk
9a0df79ec5
Use UnitTestApplication in some more places.
Also removed service registration from some tests that now don't require
it.
10 years ago
Steven Kirk
2283cfa486
Started refactoring unit tests.
Added a shared test project with a UnitTestApplication and use it in
LeakTests.
10 years ago
Wiesław Šoltés
c8a6b43009
Updat app.config
10 years ago
Steven Kirk
a7647298e6
Removed test
It wasn't right.
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
9ecd558af1
Added FallbackValue to MultiBinding.
Closes #411 .
10 years ago
Steven Kirk
3fde7f979c
Added VisualExtensions.PointToClient.
In addition moved PointToScreen to VisualExtensions, and renamed
IRenderRoot.TranslatePointToScreen to IRenderRoot.PointToScreen.
10 years ago
Steven Kirk
079a6adb4e
Fix tests.
10 years ago
Steven Kirk
b1f0ac8c97
Revert "Added InputRoot to all raw input events."
This reverts commit ae747c6dc7 .
10 years ago
Steven Kirk
1cd7f46315
Revert "Added InputRoot to all raw input events."
This reverts commit ae747c6dc7 .
10 years ago
Steven Kirk
ffbd694bf7
Implemented Binding.FallbackValue.
Closes #238 .
10 years ago
Steven Kirk
f5d5d2aebe
Add support for Source in binding.
Closes #318 .
10 years ago
Steven Kirk
ae747c6dc7
Added InputRoot to all raw input events.
10 years ago
Steven Kirk
1f71d941fb
Fix Image measure.
Should return a DesiredSize which fits in the constraint.
10 years ago
Steven Kirk
9a753140fd
Fix failing tests.
10 years ago
Steven Kirk
d8725286aa
Fix layout bug with ScrollViewer.
When calling Measure from Arrange, use previous measure constraint if
available.
10 years ago
Steven Kirk
f7f2fc65b7
Make Arrange call Measure if !IsMeasureValid.
To follow WPF. Also removed force parameter from Arrange and fixed
Decorator measure invalidation.
10 years ago
Steven Kirk
5489487131
Make LayoutManager global.
Also made a few other changes along the way:
- Add MaxClientSize to ILayoutRoot
- Store IRenderRoot in Visual and use that to calculate
IsAttachedToVisualTree
- Make Affects* methods take multiple properties
10 years ago
Steven Kirk
0e2cee8810
Overhauled layout system.
From lessons learnt from porting moonlight's Grid tests. Instead of
making a child invalidate its parents directly, send a message from the
child to the parent when its DesiredSize changes. LayoutManager also
needed rewriting to allow this.
10 years ago
Steven Kirk
5b2906a01d
Missed change from last commit.
10 years ago
Steven Kirk
bb759a8785
We can now override the default binding mode.
So make TextBlock and TextBox have different default binding modes.
10 years ago
Steven Kirk
e5f9b37b1f
Removed commented-out tests.
They have been moved to other files.
10 years ago
Steven Kirk
df7b5a4ac9
Test attached property validation.
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
89dc27f276
All tests now passing.
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
10 years ago
Steven Kirk
03e2ff8784
WIP: Splitting PerspexProperty up
10 years ago
Ivan Kochurkin
d8bec31dd8
Added tests data for Polyline and Polygon rendering.
10 years ago