Nikita Tsukanov
ffc8e9f7a9
Fixed NRE in GetBaseUri/GetLocalAssembly
9 years ago
Nikita Tsukanov
18b8219a39
Portable.Xaml nuget package uses pcl binary for net45 for some reason, switched back to submodule
9 years ago
Nikita Tsukanov
cce1c7af60
Switched to nuget version of Portable.Xaml and updated to use netstandard1.3
9 years ago
Nikita Tsukanov
df61044d50
Fixed text opacity for Skia backend
9 years ago
Dan Walmsley
c37dd6cda9
null check on hide caret.
9 years ago
Dan Walmsley
2638f02cd6
fix null reference when focusing textbox in attached to visual tree,
but before ontemplate applied.
9 years ago
Nikita Tsukanov
6c4bbdcc4d
Added System.ValueTuple to dependency list
9 years ago
Nikita Tsukanov
d5806d1af2
Fixed DPI support
9 years ago
Nikita Tsukanov
099a7ae752
Dispose event
9 years ago
Nikita Tsukanov
e0f481ae9f
Move data between two Texture2D instances manually
9 years ago
Nikita Tsukanov
1cc13484c0
Cleanup
9 years ago
Nikita Tsukanov
76c90df2da
Initial implementation for Direct2D rendering for WPF integration
9 years ago
Dan Walmsley
e3992ef4ad
fix context menu not closing when an item is clicked.
9 years ago
Nikita Tsukanov
e5289146d9
Remove AttachDevToolsToTopLevelOnVisualTreeAttachment since @grokys doesn't like it
9 years ago
Steven Kirk
6c96f69061
Only show tooltip when pointer still over control.
Make sure the pointer is still over the control when the timer fires to show a tooltip.
9 years ago
Dan Walmsley
71dff48a7a
add fix for null reference exception when arranging.
added comments explaining the conditions that the bug occurs in.
(cherry picked from commit fa1f5bc8f9 )
9 years ago
Steven Kirk
33fd46c789
Quick and dirty hack to fix #1054
This fixes the problem decribed in #1054 but I think there's something wrong with the way we handle top level layout anyway and it's going to need refactoring soon.
(cherry picked from commit 7337a90fc1 )
9 years ago
Nikita Tsukanov
76bc7aaafb
Fixed issues from PR comments #1016
9 years ago
Nikita Tsukanov
35f353c2db
Use OnMeasureInvalidated instead of virtual InvalidateMeasure
9 years ago
Nikita Tsukanov
644708bb7c
Implemented mouse leave event for GTK3 backend
9 years ago
Nikita Tsukanov
f926d7886c
Fixed include condition for linux skia binaries
9 years ago
Nikita Tsukanov
cc354da723
Focus embedded toplevel on click
9 years ago
Steven Kirk
04dc48afef
Added missing doc comments.
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
a1d6406ce9
Only set focus on left button click.
9 years ago
Steven Kirk
3bee9e5557
Only respond to left click in Button.
Fixes #854 .
9 years ago
Steven Kirk
075cd4b9a4
Ensure menu gets closed.
If there's a `Command` binding for a `MenuItem` it will now swallow the `Click` event, meaning that the menu won't get closed. Listen for handled events too.
9 years ago
Steven Kirk
85e40b9c0b
Set e.Handled on command execution.
Otherwise the `Click` event bubbles upwards causing #566 .
Fixes #566
9 years ago
Nikita Tsukanov
abf866cf61
Fixes to get it working again after merge
9 years ago
Nikita Tsukanov
85f2930557
[GTK3] More changes to workaround SafeHandle not being allowed to be null
9 years ago
Nikita Tsukanov
6ea0635c7f
[GTK3] Workaround for SafeHandle not allowed to be null
9 years ago
Steven Kirk
48f0c05522
Fix BindingNotification.ClearValue.
It should have been setting it to `UnsetValue` not null. This allows two skipped tests to pass.
9 years ago
Steven Kirk
78bb593f97
Use CurrentCulture instead of CurrentUICulture.
Use `CurrentCulture` instead of `CurrentUICulture` in converters etc. `CurrentUICulture` should be used for translations, `CurrentCulture` should be used for things like numbers, dates etc.
9 years ago
Steven Kirk
bcc3ca13ae
Don't use WeakReference in BindingNotification.
It's a bad idea - if you put say a `3` into a `BindingNotification`, that `int` will get boxed and then put into a `WeakReference`, which means that the `3` can get GC'd. That's not a desireable behavior!
9 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
9 years ago
Steven Kirk
0d492ca16a
Update ContentPresenter when ContentTemplate changed.
9 years ago
Steven Kirk
1150af791c
Reworked how ContentPresenter child is updated.
Update immediately when attached to a logical tree. Also separate tests for different scenarios.
9 years ago
Steven Kirk
82483d7dec
Fix exception in ToolTip.
Make sure old `ToolTip` is disposed before showing a new one.
9 years ago
Steven Kirk
40c342989b
Assert control invalidation behavior.
Controls not attached to the visual tree should not notify the `LayoutManager` that they have had their layout invalidated. Similarly when added to the visual tree their parents and themselves should have their layout invalidated.
9 years ago
Steven Kirk
18f9e2840d
Explain the algoithm a bit.
9 years ago
Steven Kirk
a1d46a7784
Use a stack instead of HashSet.
Controls that are already invalid will not invalidate themselves again to with the `LayoutManager`, so we don't need to worry about duplicates.
9 years ago
Steven Kirk
f97ebe961b
Fixed some stupid mistakes in algorithm.
9 years ago
Steven Kirk
ac3ca7ca29
Make LayoutManager pass new tests.
9 years ago
Nikita Tsukanov
1d44d3f7af
Removed reference to the old host
9 years ago
Nikita Tsukanov
a2c46aceea
Removed old wpf control host and added new nuget package
9 years ago
Nikita Tsukanov
09c9d7b7d5
Layout integration seems to be working now
9 years ago
Nikita Tsukanov
317b0f7034
testtesttest
9 years ago
Nikita Tsukanov
b84e9e1123
Use correct control root
9 years ago
Nikita Tsukanov
df13ab2ecb
[TEMP] Call measure directly
9 years ago
Nikita Tsukanov
d06c9e04ed
WPF integration improvements
9 years ago