Steven Kirk
1ac9c50568
Use static PerspexParserFactory.
Improves startup times on XamlTestApplication from about 9.4 to 2.6
seconds.
11 years ago
Steven Kirk
0dd742ada3
Display context menu at pointer position.
11 years ago
Steven Kirk
d1918c7a77
MouseDevice,Position should be in screen coords.
11 years ago
Steven Kirk
3fde7f979c
Added VisualExtensions.PointToClient.
In addition moved PointToScreen to VisualExtensions, and renamed
IRenderRoot.TranslatePointToScreen to IRenderRoot.PointToScreen.
11 years ago
Steven Kirk
75d63e2a07
Scan all loaded assemblies for [Content] properties.
11 years ago
Steven Kirk
956f3ddc51
Fixed ContextMenu test code in test app.
11 years ago
Steven Kirk
06454a9101
Suppress doc warnings in Release mode.
11 years ago
Steven Kirk
079a6adb4e
Fix tests.
11 years ago
José Manuel Nieto Sánchez
077825cf93
Adaptation to newest changes in OmniXAML
11 years ago
Steven Kirk
3277d7aa1a
Merge pull request #405 from VitalElement/master
Implementation of Context Menus
11 years ago
danwalmsley
13f0d4d530
contextmenu sub menus now close when context is lost.
11 years ago
Steven Kirk
67c42c1cde
Merge branch 'windowstate'
11 years ago
Steven Kirk
b984e7bb7f
Added WindowState for mobile platforms.
They always return Normal.
11 years ago
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
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