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
26303293ae
Added ctrl+shift hint in DevTools.
10 years ago
Steven Kirk
e36ed2ada4
VS insists on making these changes.
10 years ago
Steven Kirk
96235fba17
Listen for raw key events in DevTools.
That way we can detect the Ctrl+Shift key combination anywhere.
10 years ago
Steven Kirk
ae747c6dc7
Added InputRoot to all raw input events.
10 years ago
Steven Kirk
70d6aa3163
Accept shift/ctrl keycodes.
10 years ago
Steven Kirk
1f71d941fb
Fix Image measure.
Should return a DesiredSize which fits in the constraint.
10 years ago
Steven Kirk
cce8b4725d
Fix formatting.
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
72baba2f0e
Removed 'force' parameter from Measure.
10 years ago
Steven Kirk
b310ead6a1
Removed 'distance' argument to LayoutManager.
No longer needed.
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
28b6de1019
Make Shapes update their geometry.
When a property that affects the Shape's geometry is changed, make sure
the DefiningGeometry gets updated.
10 years ago
Steven Kirk
1d8800251c
Use GetWidenedBounds in D2D backend.
According to http://stackoverflow.com/questions/32611798 , "
Geometry.Bounds (in WPF) is equivalent to
ID2D1Geometry::GetWidenedBounds(0.0f)." so use that. This seems to fix
the problem with D2D reporting an invalid size for
Line/PolylineGeometry, so removed the workaround from there.
10 years ago
Steven Kirk
74ed826752
Prevent stack overflow.
Rect.Inflate(double) was calling itself instead of the Thickness
overload.
10 years ago
Steven Kirk
7a8b50de8f
Cache Polygon/Polyline geometry.
10 years ago
Steven Kirk
e91f551263
Added missing file headers.
And sorted usings.
10 years ago
Steven Kirk
1309bb3e1b
Updated new control's properties.
From PerspexProperty to StyledProperty.
10 years ago
Steven Kirk
afe0f9012c
Merge branch 'master' into properties-refactor
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
453668590b
Started adding property documentation.
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
Nikita Tsukanov
e60fef22c6
Merge pull request #398 from KvanTTT/master
Added Polygon, Polyline. Line fixed.
10 years ago
Ivan Kochurkin
3fb89ded78
Fixed @kekekeks notes.
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
2072912281
Merge remote-tracking branch 'upstream/master'
10 years ago
Ivan Kochurkin
5b79178947
Added LineJoin parameter to geometric primitives.
Fixed Bounds for Line, Polygon, Polyline.
10 years ago
Ivan Kochurkin
7667d9d510
Added Binding to Polygon and Polyline.
10 years ago
Steven Kirk
5a26f9d076
Merge pull request #402 from shiftkey/patch-1
tidy up some names in the docs
10 years ago
Nikita Tsukanov
3556a66b59
Use curl if available
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
Brendan Forster
954fe6da11
added a third project which impacts Windows-only dev
10 years ago
Brendan Forster
18280bb8c6
and the other reference to the Skia folder
10 years ago
Brendan Forster
d4b27f1332
point to the Perspex organization
10 years ago
Brendan Forster
9ea66ea262
dropped Perspex prefix folder from step
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
Steven Kirk
369313da00
Merge branch 'devtools'
10 years ago
Steven Kirk
0faeaf47e3
Scroll newly selected tree view node into view.
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