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
Ivan Kochurkin
5b79178947
Added LineJoin parameter to geometric primitives.
Fixed Bounds for Line, Polygon, Polyline.
10 years ago
Nikita Tsukanov
a74e9b3ff7
Fixed `Path_Tick_Scaled`, `Path_Tick_Scaled_Stroke_8px` and `Path_Expander_With_Border` for Skia
10 years ago
Steven Kirk
3beea47bf7
Replace DockPanel implementation.
The old one was broken - replaced by the implementation from
WinRTXamlToolkit which is both simpler and works correctly. Also added
some tests. This closes #397 , closes #348 , closes #74 .
10 years ago
Ivan Kochurkin
93e1f0d388
Removed PointPair.
10 years ago
Ivan Kochurkin
bf9d9e270b
Added PolygonTests with evenOdd fill.
Fixed errors after merge.
10 years ago
Ivan Kochurkin
5c969c40b8
Implemented Polygon, Polyline, PolylineGeometry.
Added unit-tests with data and demo code in TestApplication.
10 years ago
Ivan Kochurkin
e07d085ef5
Fixed Line rendering (PointPair instead of Rect) and added unit-tests.
10 years ago