Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
7 years ago
Steven Kirk
a5f07f78e9
Fixed context menu styling.
7 years ago
Steven Kirk
fbfd5d80d1
Added MenuBase.
And use it as base class for both `Menu` and `ContextMenu`.
7 years ago
Steven Kirk
f85995ed7e
Move design-time handling of events...
...to `Avalonia.Markup.Xaml`. Also added tests: tests required a new instance of `AvaloniaXamlSchemaContext` for each `AvaloniaXamlLoader` as otherwise one test can affect other tests.
7 years ago
Dan Walmsley
2d7d9bc900
whitespace.
7 years ago
Dan Walmsley
556c1373e1
fix affectsrender memory leak with WeakEventHandlerManager
7 years ago
Nikita Tsukanov
4af9b22c59
Introduced WeakEventHandlerManager
7 years ago
Nikita Tsukanov
64a0ae0921
[X11] Fixed window size hints handling
7 years ago
Jumar Macato
2da756aa53
Make parse function in Cue.cs explicitly typed in order for Xaml-IL tocorrectly compile and avoid unnecessary boxing.
7 years ago
Steven Kirk
40b0bbd46c
Make sure PopupRoot.Parent is a Popup.
Fixes #2137 .
7 years ago
Dariusz Komosiński
823b58b335
Add doc comment to related methods.
7 years ago
Dariusz Komosinski
3d6b4a875b
Do not capture this when creating _drawOperationsRefCounter.
7 years ago
Steven Kirk
6dcd634a87
Missed change from merge.
7 years ago
Steven Kirk
6961d55e7a
Only log binding errors when attached to a tree.
7 years ago
Steven Kirk
2a77f4426a
Snap dirty rects in DeferredRenderer to device pixels.
Fixes #2015 .
7 years ago
Andrey Kunchev
a4132890bf
add unit tests for layout queue
7 years ago
Andrey Kunchev
6d7d051f3e
extract layoutqueue to separate file
7 years ago
Andrey Kunchev
b97b3c5935
make internal stored Info a strcut to optimize memory (pr note)
7 years ago
Andrey Kunchev
8c07461323
LayoutManager InfinityLoop protection and safety improvements
7 years ago
Steven Kirk
a12631104a
Add guards to selector construction methods.
7 years ago
Steven Kirk
354496b9b2
Throw an exception if selector class not found.
Fixes #2316 .
7 years ago
Dariusz Komosinski
2a4cb2c3f6
Fix Style subscriptions not being removed at all.
7 years ago
Dariusz Komosinski
71cee6ae5b
Fix ItemTemplateProperty being subscribed to on every ItemsControl or derived class construction.
7 years ago
Jumar Macato
8ea2234d41
Temporarily fix datagrid loading by force-loading the DataGrid assembly on Markup.
7 years ago
Jumar Macato
fbb77d28a4
Add xmlns definitions, fix references & trim some warnings.
7 years ago
Jumar Macato
2c0936580e
Move DataGrid to a separate assembly and add it to CoreLibraries.props.
7 years ago
Dan Walmsley
a88c1473da
[OSX/Avalonia.Native] fix NRE in double dispose of ScreenImpl
7 years ago
Steven Kirk
91ca44a412
Updated portable.xaml
7 years ago
Dan Walmsley
1a661e657f
fix error.
7 years ago
Dan Walmsley
27565d80bd
[X11] put FullHd res check inside GuessPixelDensity.
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
Steven Kirk
c438f9301e
Make DesignWindowLoader expect PreviewWith on Styles.
7 years ago
Steven Kirk
8d9c23446a
Make Styles inherit from AvaloniaObject.
This way we can add attached properties (such as `Design.PreviewWith`) to `Styles`.
7 years ago
Steven Kirk
e3e42e8ae0
Fix bad XAML in DesignWindowLoader message.
7 years ago
Dan Walmsley
7b8b6374a0
Scaling of 1 on monitors >= FullHD
7 years ago
José Pedro
0fce33e43e
XML comment fixes.
7 years ago
Steven Kirk
81510372b4
Don't invalidate a disposed TopLevelImpl.
7 years ago
Steven Kirk
2b34a27892
Return a frame even for an empty control.
If the user has a control with no content then we've still got a valid control
so return a frame with size 0.
7 years ago
Steven Kirk
9ed23bbf89
Handle null modifiers collection.
7 years ago
Steven Kirk
03e84dea7b
Ignore missing events in the designer.
Do this by registering a special type converter for EventInfo, and add in the plumbing
for Portable.Xaml to use that type converter instead of its own (internal) `EventConverter`.
7 years ago
mstr2
039991da68
Fixed a bug where AddOwner would add a property to AvaloniaPropertyRegistry's property list more than once
7 years ago
Andrey Kunchev
91e678baf8
call canexecute before execute for button/menu command
7 years ago
José Pedro
fa8d8c896d
Removed redundant bool comparisons.
7 years ago
artyom
724ec9b8bb
Add xml docs and usage examples
7 years ago
artyom
6e4b9a23c2
Add unit tests for RoutedViewHost
7 years ago
artyom
990bc26d7b
Add RoutedViewHost control implementation
7 years ago
danwalmsley
e9f59a90e8
ensure scene is always disposed
7 years ago
danwalmsley
b2f250acb4
Oops
7 years ago
Дмитрий Заводской
a8b8454a6c
add StrokeDashOffset support for shapes
7 years ago
Andrey Kunchev
f285c38d27
improve dropdown key up/down and mouse wheel auto selections so they don't go through unselected state
7 years ago