Steven Kirk
b6d7c8a5b7
Refactor DevTools logical/visual tree nodes.
- Previously we created a node for every logical/visual control immediately, now only create them when the `TreeView` requests nodes
- Dispose the child node collections when the DevTools window closes
6 years ago
Steven Kirk
5cfc20abb2
Removed unused call to IsSelectedWithPartialAt.
6 years ago
Jumar Macato
cc2ddce5ab
Fix access denied scenario in windows managed dialog
6 years ago
Steven Kirk
5f77d26c42
Don't throw when a BringIntoView received from non-descendent.
The event can come from a child `Popup`.
Fixes #4176 .
6 years ago
Steven Kirk
50af733eac
Remove unused method.
6 years ago
Steven Kirk
13d828cdcc
Duplicate listeners before raising EffectiveViewportChanged.
6 years ago
Steven Kirk
02b2f3dc15
Remove listeners backwards in case of duplicates.
6 years ago
Jumar Macato
441590f549
change in DispatcherTimer instead.
6 years ago
Jumar Macato
400523da95
Fix dev tools crashing on X11.
6 years ago
Steven Kirk
4b503f8b37
Use EffectiveViewportChanged in ViewportManager.
6 years ago
Steven Kirk
64174f37af
Tweak effective viewport calculation.
This logic isn't in the UWP version as it only clips to scrollports.
6 years ago
Steven Kirk
d0e74b7dbd
Include transforms in effective bounds.
6 years ago
Steven Kirk
b5da0310f1
Update tests from UWP tests.
UWP tests are at: https://github.com/grokys/EffectiveBoundsTestsUWP
Try to make the Avalonia tests match them as closely as possible in order to easily port them across.
6 years ago
Steven Kirk
9c7aeaf713
Initial implementation of EffectiveViewportChanged.
6 years ago
Rustam Sayfutdinov
8e7d785419
Merge condition
6 years ago
Rustam Sayfutdinov
b4b54fe6a3
Swap condition
6 years ago
Rustam Sayfutdinov
d7c3c03ccf
Rewrite check targetVal
6 years ago
Rustam Sayfutdinov
3157dbd133
Rewrite condition by if not ISolidColorBrush
6 years ago
Rustam Sayfutdinov
c0d192a8f6
Rewrite getting targetVal
6 years ago
Wiesław Šoltés
cbbbdc3c73
Add missing Compact.xaml resource to project
6 years ago
Rustam Sayfutdinov
be4f4ed1c2
Fix using pattern matching
6 years ago
Rustam Sayfutdinov
4aaa48739c
Fix skip ISolidColorBrush when animation
6 years ago
Steven Kirk
2807cbe6cb
Make LayoutManager disposable.
And dispose it on `TopLevel` close: this allows layout passes to be run before a window/popup is shown but prevents it being run after close.
6 years ago
Nikita Tsukanov
6149cd69b5
Fixed compilation with old compiler versions
6 years ago
Steven Kirk
f14d73f5c9
Disable render layers.
We need a new renderer :/
Fixes #2244
6 years ago
Nikita Tsukanov
7d02564e27
build?
6 years ago
Nikita Tsukanov
16625c164c
build?
6 years ago
Steven Kirk
536a2f7c62
Check correct root in invalidation calls.
6 years ago
Steven Kirk
d3c3741bec
No longer need to pass root to ExecuteInitialLayoutPass.
6 years ago
Steven Kirk
7694fc0484
Don't run layout passes on hidden TopLevels.
To do this we need to pass the root to `LayoutManager`.
Fixes #4161
6 years ago
Dariusz Komosiński
d451bb36b5
Use exception instead of an assert.
6 years ago
Luis von der Eltz
c4ef08206e
Implementing support for IsTabStop attached property
6 years ago
Steven Kirk
d0edfa0447
Close submenu when pointer leaves.
6 years ago
Wiesław Šoltés
83b0b82bea
Add compact density style
6 years ago
Dan Walmsley
864478a38e
workaround implicit conversion x:Double to GridLength
6 years ago
Dariusz Komosinski
7123747a4b
Enable nullable, and use expression bodied properties.
6 years ago
Dariusz Komosinski
7145068863
Fix copy pasta error.
6 years ago
Dariusz Komosinski
57ea1d502c
Mark LayoutManager public functions as virtual so users can adjust the behavior.
6 years ago
Max Katz
580c03f511
Fluent TreeView and TreeViewItem
6 years ago
Max Katz
83518a24f2
Add TreeViewItem resources
6 years ago
Max Katz
97a89be06b
Add missed Reveal resources
6 years ago
Max Katz
57bb2e6267
Add Pressed mixin to TreeViewItem
6 years ago
Dariusz Komosinski
0603bd1716
Fix errors caused by handling accessor fallback too late.
6 years ago
Dariusz Komosinski
66f084c8bb
Add light theme. Enable scrollbar auto hide by default.
6 years ago
Dariusz Komosinski
41af8ec3a8
Remove strange using.
6 years ago
Dariusz Komosinski
8691aea157
Cleanup code and add doc comments.
6 years ago
Dariusz Komosinski
52606fa56d
Implement auto hide and sync scrollviewer this scrollbar visibility.
6 years ago
Rustam Sayfutdinov
8414ace5cf
Remove duplicate code for RoundLayoutValue
6 years ago
Rustam Sayfutdinov
70f37dcf21
Revert "Remove duplicate code for RoundLayoutValue"
This reverts commit 2edcb3b676 .
6 years ago
Steven Kirk
a81306f72c
Updated repeater logging to new API.
6 years ago