Steven Kirk
b1f0ac8c97
Revert "Added InputRoot to all raw input events."
This reverts commit ae747c6dc7 .
11 years ago
Steven Kirk
8caf0d77bd
Changes from VS.
11 years ago
danwalmsley
d043e4b67a
fixed popup, and context menu.
11 years ago
danwalmsley
f7de57f46f
fixed to popup to work on logical tree.
11 years ago
danwalmsley
c33c5bc627
migrating from popup root to popup.
11 years ago
danwalmsley
cd01ca61c9
addressed issues in PR# 405
11 years ago
danwalmsley
38de257ee6
Merge branch 'master' of https://github.com/Perspex/Perspex
11 years ago
danwalmsley
f32f293f30
Added implementation of ContextMenus.
11 years ago
Steven Kirk
1cd7f46315
Revert "Added InputRoot to all raw input events."
This reverts commit ae747c6dc7 .
11 years ago
Steven Kirk
fbb6dfbe1a
Added Window.WindowState.
To allow minimize/maximize/restore of Window from code.
11 years ago
danwalmsley
d2a6b89434
Added initial ContextMenu attachedProperty.
11 years ago
Steven Kirk
5c14a06010
Merge pull request #404 from VitalElement/master
Corrected ordering for DataTemplate overriding. i.e. Derived classes …
11 years ago
danwalmsley
93dd92202c
Corrected ordering for DataTemplate overriding. i.e. Derived classes come first then base class when selecting Templates for derived classes.
11 years ago
Steven Kirk
ffbd694bf7
Implemented Binding.FallbackValue.
Closes #238 .
11 years ago
Steven Kirk
f5d5d2aebe
Add support for Source in binding.
Closes #318 .
11 years ago
Steven Kirk
26303293ae
Added ctrl+shift hint in DevTools.
11 years ago
Steven Kirk
e36ed2ada4
VS insists on making these changes.
11 years ago
Steven Kirk
96235fba17
Listen for raw key events in DevTools.
That way we can detect the Ctrl+Shift key combination anywhere.
11 years ago
Steven Kirk
ae747c6dc7
Added InputRoot to all raw input events.
11 years ago
Steven Kirk
70d6aa3163
Accept shift/ctrl keycodes.
11 years ago
Steven Kirk
1f71d941fb
Fix Image measure.
Should return a DesiredSize which fits in the constraint.
11 years ago
Steven Kirk
e55ecb9960
Listen for DPI changes and update layout.
11 years ago
Steven Kirk
e742237d00
Use actual DPI for scaling factor.
Doesn't change when DPI changes yet though.
11 years ago
Steven Kirk
93b4d810b9
Moved scaling to per-window.
Always returning a scaling factor of 1 currently.
11 years ago
Steven Kirk
d460ec9fd0
Implemented basic layout scaling.
Maybe works... I don't have a high DPI monitor to test on...
11 years ago
Steven Kirk
a8c8903162
Moved IPlatformSettings to SceneGraph.
It's the lowest it can go in the stack as it depends on Size.
11 years ago
Steven Kirk
e23085cc27
Fix naming/formatting.
11 years ago
Steven Kirk
cfb5265a88
Merge branch 'master' of https://github.com/Arlorean/Perspex into dpi-aware
11 years ago
Steven Kirk
cce8b4725d
Fix formatting.
11 years ago
Steven Kirk
9a753140fd
Fix failing tests.
11 years ago
Steven Kirk
d8725286aa
Fix layout bug with ScrollViewer.
When calling Measure from Arrange, use previous measure constraint if
available.
11 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.
11 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
11 years ago
Steven Kirk
72baba2f0e
Removed 'force' parameter from Measure.
11 years ago
Steven Kirk
b310ead6a1
Removed 'distance' argument to LayoutManager.
No longer needed.
11 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.
11 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.
11 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.
11 years ago
Steven Kirk
74ed826752
Prevent stack overflow.
Rect.Inflate(double) was calling itself instead of the Thickness
overload.
11 years ago
Steven Kirk
7a8b50de8f
Cache Polygon/Polyline geometry.
11 years ago
Steven Kirk
e91f551263
Added missing file headers.
And sorted usings.
11 years ago
Steven Kirk
1309bb3e1b
Updated new control's properties.
From PerspexProperty to StyledProperty.
11 years ago
Steven Kirk
afe0f9012c
Merge branch 'master' into properties-refactor
11 years ago
Steven Kirk
5b2906a01d
Missed change from last commit.
11 years ago
Steven Kirk
bb759a8785
We can now override the default binding mode.
So make TextBlock and TextBox have different default binding modes.
11 years ago
Steven Kirk
e5f9b37b1f
Removed commented-out tests.
They have been moved to other files.
11 years ago
Steven Kirk
453668590b
Started adding property documentation.
11 years ago
Steven Kirk
df7b5a4ac9
Test attached property validation.
11 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
11 years ago
Steven Kirk
89dc27f276
All tests now passing.
11 years ago