Steven Kirk
a2302a02ab
Fix focusedChild null in MoveFocusFromClearedIndex.
7 years ago
Jumar Macato
b7a42d96d2
Do it the hackey way
7 years ago
Dan Walmsley
e530ab468c
fix implementation of maxclientsize osx.
7 years ago
Dan Walmsley
65caadd7cd
fix missing bracket.
7 years ago
Dan Walmsley
31cf785927
fix x11 impl
7 years ago
Dan Walmsley
1a5ffa9458
fix typo
7 years ago
Dan Walmsley
54dd8a4002
add implementation for osx.
7 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Jumar Macato
43ed3e2964
Fix transitions since the last PR.
7 years ago
Jumar Macato
3ede24cf74
Set a ratio of client size as default window size on xorg.
7 years ago
Steven Kirk
db8751d711
Handle reparenting controls in SceneBuilder.
Renamed `VisualNode.SortChildren` -> `UpdateChildren` and make it remove nodes for controls that are no longer children.
7 years ago
Yatao Li
16a8ff862b
X11: map super to win key
7 years ago
Dariusz Komosinski
213600f6c2
Use Equals.
7 years ago
Dariusz Komosinski
3030427c07
Fix unsubscribe not doing anything due to wrong check.
7 years ago
Dan Walmsley
2afa74e628
include drive letter on windows.
7 years ago
Jumar Macato
f4100fd8a4
Set Path as name if there's no volume label.
7 years ago
Jumar Macato
9de04b3297
Fix drive enumeration crash on Windows's Managed File Dialog.
7 years ago
Keroosha
08976e81c7
Use screen bounds if woking area is empty
7 years ago
Dariusz Komosiński
d409090b90
Fix unit tests. Remove default ctor.
7 years ago
Dariusz Komosiński
2362b5a847
Cleanup KeyGesture code. Add constructor taking non-deprecated arguments.
7 years ago
Steven Kirk
d3f8d08a47
Make sure OneTime bindings unsubscribe.
`OneTime` bindings unsubscribe when the first value is pushed, meaning that they unsubscribe _during_ `ExpressionNode.StartListeningCore`. Make sure we handle this by:
- Setting `_listening = true` before calling `StartListeningCore`
- Subscribe to current value in `InpcPropertyAccessorPlugin` before sending current value, because we're unsubscribed when `SendCurrentValue` exits
7 years ago
Dariusz Komosiński
9acf82d47b
!B Fix expression nodes not knowing if last value is actually null or dead.
7 years ago
Dan Walmsley
bdca92c16a
dont handle f10 key in accesskey handler, prevents people using f10 hotkey.
7 years ago
Dan Walmsley
91279db308
apply fix to reversible stackpanel.
7 years ago
Dan Walmsley
69fa0f7f28
stackpanel copes with non-visible controls when arranging.
7 years ago
Dan Walmsley
4762b8ec33
fix whitespace.
7 years ago
Dan Walmsley
27e1b9d0f5
check selectedindex instead of _selectedItem
7 years ago
Dan Walmsley
79ecf98a46
add null check to itemvirtualizer simple
7 years ago
Steven Kirk
25ebbd63be
Allow both SelectedItem and SelectedItems to be bound.
Fixes #2969 .
7 years ago
Steven Kirk
1f9bb75ed3
Add setter for ListBox.SelectedItems.
It had been erroneously omitted.
7 years ago
Dan Walmsley
05b580317c
fix crash scrolling to view when clearing list.
7 years ago
Dariusz Komosiński
7237fa979e
Add comments.
7 years ago
Dariusz Komosiński
7f33ffaf8b
Avoid allocations when running UpdateIsEffectivelyEnabled.
7 years ago
Dariusz Komosinski
c755334dde
Review feedback.
7 years ago
Dariusz Komosiński
f0a9de18ac
Remove lambda closure allocations. Optimize search for conversion operator.
7 years ago
Steven Kirk
13333cd820
Avoid NRE in DefaultMenuInteractionHandler.
The input can arrive after the interaction handler has already been detached.
7 years ago
Steven Kirk
fc33d6978c
Fix DevTools crash.
Make sure `HeaderPresenter` has its template applied before trying to get its child.
7 years ago
Dan Walmsley
9e6d3db520
fix whitespace.
7 years ago
Dan Walmsley
d636c7647e
only require a single call to ScrollIntoView
7 years ago
Dariusz Komosinski
671361c805
Remove extra lambda allocations from render loop.
7 years ago
Steven Kirk
cce605af49
Remove unused/bad code.
Removed the code that was causing the TreeView problems described in #2944 . This code was never actually called except in `TreeView` because a plain `ItemsControl` can't be used with virtualization (it uses untyped `ItemContainerGenerator` so items can't be recycled) and every other derived class derives from SelectingItemsControl which overrides this method and doesn't call the base implementation. In addition there were no unit tests covering this code.
Fixes #2944
7 years ago
Dan Walmsley
e9ae26e09c
fix scrolling to selected item.
7 years ago
Steven Kirk
0eb7b2d25e
Enable adding event handlers to Gestures events.
Added the `Add*Handler` and `Remove*Handler` events required by XAML in order to use attached event syntax. Added unit test to ensure this works.
7 years ago
Benedikt Schroeder
3de1d66ada
Register RadioButton for GroupName every time it is attached to the visual tree.
7 years ago
Dan Walmsley
734b9f39b3
fix windows mounted listener.
7 years ago
Dan Walmsley
f56a47ed49
fix osx managed file dialogs.
7 years ago
Jumar Macato
d368d9675a
Address review.
7 years ago
Dariusz Komosinski
f5b317decb
Naming.
7 years ago
Dariusz Komosinski
5cae6bee7b
Simplify creation of invoke adapters.
7 years ago
Nikita Tsukanov
45f86a925f
Fixed possible NRE in Gestures.cs
7 years ago