Simon Cropp
fb37ab1e77
leverage GetRequiredService
3 years ago
Max Katz
4460de529e
Implement multiple documents loading and transforming in AvaloniaRuntimeXamlLoader
3 years ago
Max Katz
e1c7e8b5ec
Apply changes after review
3 years ago
Max Katz
dc0c7e756a
Respect AvaloniaUseCompiledBindingsByDefault in previewer
3 years ago
Steven Kirk
8abeb76235
Added support for Design.PreviewWith in resource dictionaries.
4 years ago
Steven Kirk
802b459275
Fix DesignWidth/DesignHeight.
Ensure that design mode properties are set before setting `SizeToContent`.
6 years ago
Nikita Tsukanov
6c89473ca1
Fixed tests
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Steven Kirk
b7efe2037c
Only set SizeToContent for non-set width/height.
Always setting `SizeToContext = WidthAndHeight` was causing `Grid` to default to `Auto` sizing for `Star` rows/columns at design-time.
Fixes #2862
6 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
Steven Kirk
c438f9301e
Make DesignWindowLoader expect PreviewWith on Styles.
7 years ago
Steven Kirk
e3e42e8ae0
Fix bad XAML in DesignWindowLoader message.
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
Nikita Tsukanov
b092c51a55
Use `avares://` scheme with proper relative uri handling
7 years ago
Nikita Tsukanov
0948f56587
Added XamlFileProjectPath to UpdateXamlMessage
7 years ago
Nikita Tsukanov
4f48b415cf
Use res:asm: scheme for fake assembly
7 years ago
Dan Walmsley
75771d6d49
remove whitespace changes
7 years ago
Dan Walmsley
e12a3f91c5
add a render info message so dpi can be set.
7 years ago
Dan Walmsley
50a3b95f87
fix support for zooming in on previewer and hidpi preview.
7 years ago
Nikita Tsukanov
04228b6d03
Support for mc:Ignorable + d:DataContext
7 years ago
Jeremy Koritzinsky
1bbc155303
Use a concrete type for the host type to avoid #959 .
8 years ago
Steven Kirk
3f617a9081
FIx failing designer support test.
`Assembly.LoadFile` doesn't like relative paths.
8 years ago
Nikita Tsukanov
6e1c7e37a8
Fixed Styles preview substitute
8 years ago
Nikita Tsukanov
fee5b4e594
Support default clr-namespace when loading XAML from Uri or previewer
8 years ago
Nikita Tsukanov
9a1348b37b
Initial remote XAML previewer implementation
8 years ago