Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 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
7 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Nikita Tsukanov
e9baedcbfc
Fixed platform threading for fbdev
7 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
7 years ago
Nikita Tsukanov
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Nikita Tsukanov
d0301bb4c4
Now passing most of the tests
7 years ago
José Pedro
e6e8907643
Changed IScreenImpl.AllScreens return type so that it's not array.
8 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.
8 years ago
Steven Kirk
c438f9301e
Make DesignWindowLoader expect PreviewWith on Styles.
8 years ago
Steven Kirk
e3e42e8ae0
Fix bad XAML in DesignWindowLoader message.
8 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`.
8 years ago
Steven Kirk
718c01f206
Supply more detailed exception details.
So we can display better errors in a designer.
8 years ago
Steven Kirk
c8363ddeb7
Supply more detailed exception details.
So we can display better errors in a designer.
8 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
8 years ago
Nikita Tsukanov
d532223a5a
Switched to post-processing nuget packages from AggregatePackage SDK
8 years ago
Nikita Tsukanov
b092c51a55
Use `avares://` scheme with proper relative uri handling
8 years ago
Nikita Tsukanov
0948f56587
Added XamlFileProjectPath to UpdateXamlMessage
8 years ago
Nikita Tsukanov
4f48b415cf
Use res:asm: scheme for fake assembly
8 years ago
Nikita Tsukanov
5cd7c1f6f4
Reworked dialogs for GTK/Win32
8 years ago
Jeremy Koritzinsky
acb3d46ca0
Enable generating NuGet packages via the MSBuild Pack target.
8 years ago
Jeremy Koritzinsky
5a9e41364b
Convert project references to reference aggregate Avalonia.csproj
8 years ago
Dan Walmsley
bab421a8e0
fix keyboard input
8 years ago
Dan Walmsley
1eda1edc04
implement previewer interactions for mouse and keyboard.
8 years ago
Dan Walmsley
75771d6d49
remove whitespace changes
8 years ago
Dan Walmsley
e12a3f91c5
add a render info message so dpi can be set.
8 years ago
Dan Walmsley
50a3b95f87
fix support for zooming in on previewer and hidpi preview.
8 years ago
Nikita Tsukanov
04228b6d03
Support for mc:Ignorable + d:DataContext
8 years ago
Steven Kirk
0b4e6b8471
Make centralized RenderLoop.
- Renamed `RenderLoop` to `RenderTimer`
- Added new `RenderLoop` which `DeferredRenderer`s register themselves with for updates
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Dan Walmsley
ca7204ad9a
freeze designer support assembly version.
8 years ago
Jeremy Koritzinsky
38de22cf75
Add empty event implementations for unused events.
8 years ago
CommonGuy
0af6dd2c0a
Implement topmost on window
8 years ago
Steven Kirk
2f64e0f952
Removed functionality implemented by #1190 .
8 years ago
Jeremy Koritzinsky
1bbc155303
Use a concrete type for the host type to avoid #959 .
8 years ago
Jeremy Koritzinsky
68309101e4
Remove legacy designer.
8 years ago
José Pedro
2af15cbee4
Make WindowState bindable.
Requested changes.
9 years ago
Steven Kirk
d9ca27ba87
Stop renderer on Window minimize.
Adds a new `WindowStateChanged` event to `IWindowImpl` and when a window is minimized, stops the associated renderer (only implemented on win32 currently).
8 years ago
Steven Kirk
3f617a9081
FIx failing designer support test.
`Assembly.LoadFile` doesn't like relative paths.
8 years ago
Jumar Macato
7ae90eb7c5
Cleanup all the csproj's that can be cleaned. Ported RenderTest and VirtualizationTest samples to .NET Core.
8 years ago
CommonGuy
a50a8a3314
Add CanResize to Window
8 years ago
Stano Turza
586e8654f3
replace Min Max properties with function
8 years ago
Stano Turza
b89b72f0ba
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
Stano Turza
bd33b3076b
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
Manuel Allenspach
b2461f4b1f
Implement Closing event
9 years ago
Nikita Tsukanov
6e1c7e37a8
Fixed Styles preview substitute
9 years ago
Nikita Tsukanov
fee5b4e594
Support default clr-namespace when loading XAML from Uri or previewer
9 years ago
Nikita Tsukanov
3a42ef3463
Fixed designer focus issue
9 years ago