Dan Walmsley
eb1241eea3
fix skia formatted text unit tests.
7 years ago
Dan Walmsley
075aeecebf
fix skia formatted text impl hit testing.
7 years ago
Dan Walmsley
5921d359c8
fix hit testing skia formatted text.
7 years ago
Steven Kirk
e126874c80
Handle cross-root reparenting.
When updating the scene for a window, moving a control to a different root should be the same as just removing the control.
7 years ago
mstr2
533c17a181
TransitionInstance with zero duration is now completed on first tick
7 years ago
mstr2
e1df65c94b
Failing unit test for #3197
7 years ago
Andrey Kunchev
a612ee5a3e
fix WrapPanel issue #3165 item width/height should trigger new measure
7 years ago
Benedikt Schroeder
e9335d6a2c
Fix #2699
7 years ago
Andrey Kunchev
a3dbf72947
don't try open tooltip on detached control
7 years ago
Steven Kirk
68b655b517
Add to logical children before notifying presenter.
This makes sure that newly added control items have the correct logical parent.
7 years ago
Steven Kirk
496fae20e5
Ensure Items are synchronised with Presenter.
Ensure that the `ItemsControl`'s presenter is notified of an `Items` change at the appropriate time.
7 years ago
Nikita Tsukanov
e27c7c0fff
Fixed parameter order in OnSelectionChanged in AutoCompleteBox
Apparently Silverlight has different constructor argument order
7 years ago
mstr2
e46cb67423
Fixed a bug where ValueStore.Changed could be called with pre-validation value
7 years ago
Steven Kirk
4f41a70455
Make sure ItemsPresenter is updated before selection change.
Having a separate subscription to `Items.CollectionChanged` in both `ItemsControl` and `ItemsPresenter` meant that the `ItemsPresenter` sometimes doesn't update itself in time for a selection change, resulting in #3148 . Make `ItemsControl` trigger `ItemsPresenter.ItemsChanged` rather than both controls listening to the event separately.
7 years ago
Steven Kirk
58b79a7724
Validate min/max in MathUtilities.Clamp.
7 years ago
Dariusz Komosinski
969166422e
Comment fix.
7 years ago
Dariusz Komosinski
9c5e688958
Fix Grid shared scope not being updated when resizing row/column definitions.
7 years ago
José Pedro
50acbfec9f
XML comment fixes.
7 years ago
Nikita Tsukanov
b9bd57e25b
Removed `Application` parameter from ClassicDesktopStyleApplicationLifetime since it wasn't used anyway
7 years ago
Nikita Tsukanov
d8ee7531ab
Properly raise PointerCaptureLost on capture transfer
7 years ago
Nikita Tsukanov
3054a513ee
Fix AppBuilderBase.Start<TMainWindow>
7 years ago
Nikita Tsukanov
3b1005f04e
Removed pointer global state that caused trouble
7 years ago
Andrey Kunchev
d478572e74
fix issue #3155 add/remove grid child runtime works properly
7 years ago
Andrey Kunchev
7f2b3261b4
fix grid to invalidate when columns/rows are replaced
7 years ago
Andrey Kunchev
4b275a8f29
fixed issue: #3141 when col/row are removed grid trigger layout update
7 years ago
Andrey Kunchev
acf0d42a81
fix issue: #3141 when col/row are added grid trigger layout update
7 years ago
Andrey Kunchev
4f82615868
fix problem when grid row/col properties (width/height ...) are changed grid to invalidate calculations
7 years ago
Dan Walmsley
1f2a37bcb7
remove vertical seperator on menus between icon and menu header, polished spacing, now closely matches Windows and Visual Studio menus
7 years ago
Jumar Macato
47c9f53e9a
Don't reopen an already active submenu on hover.
7 years ago
Andrey Kunchev
2e70be023b
fixed #3089 now set selecteditem/s before initialization should work properly
7 years ago
Nikita Tsukanov
842958e551
Updated XamlIl
7 years ago
Nikita Tsukanov
61340acf4b
Disable IL verification for nuget version of compiler by default
7 years ago
Nikita Tsukanov
8f736db8fc
Updated XamlIl
7 years ago
Dan Walmsley
31e56bc155
fix centralization of scroll buttons
7 years ago
Dan Walmsley
ab54a9ced4
fix indentation
7 years ago
Dan Walmsley
7658791ab9
fix centralization of buttons.
7 years ago
Dan Walmsley
45028cd2ea
add 2 extra control colour levels like UWP, will need to rename these in 0.10, right now will be a breaking change.
7 years ago
Dan Walmsley
1bc56dc777
overhaul scrollbar templates, to support pointer over, pointer pressed, and nice arrows. basically matches visual studio now.
7 years ago
Dan Walmsley
5b1a552127
fill in the bottom right corner of scrollviewer area where the horizontal and vertical scrollbars meet.
7 years ago
Dan Walmsley
b7e509f046
thumb adds :pressed pseudo class.
7 years ago
Dariusz Komosinski
91662d7020
Fix Grid not reacting to cell structure changes during runtime.
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Dan Walmsley
1c9e158a4c
use getproc address to check for GetDpiForMonitor.
7 years ago
Dan Walmsley
bbdf0592c1
check for shcore rather than exception.
7 years ago
Jumar Macato
9c62cc9a41
Fix #3069
7 years ago
Steven Kirk
d1ad46d07e
Ensure child node has correct parent.
When updating the scene, if a control has been reparented then a new `VisualNode` needs to be created to prevent #3095 . Check that an existing node has the correct parent and if it doesn't, deindex it and create a new node.
Fixes #3095
7 years ago
Steven Kirk
e6790fe1d1
Add check for correct VisualNode.Parent.
Check that `VisualNode.Parent` is correct when adding a child. Causes a failing test for #3095 .
7 years ago
Steven Kirk
534852af75
Create VisualNode for invisible controls.
If we don't do this, then a `VisualNode` can appear twice in its parent `ChildrenCollection` when an earlier sibling is made invisible.
Fixes #3115
7 years ago
Steven Kirk
5e9f3067ce
Fix off-by-N error in VisualNode.TrimChildren.
And added unit test.
7 years ago
Jumar Macato
a351e7c523
Address review.
7 years ago