Dan Walmsley
3e8138cfe4
Set a default Avalonia application name.
6 years ago
Nikita Tsukanov
19962e4c4d
NativeMenu/NativeMenu item with dbusmenu-based exporter
6 years ago
Nikita Tsukanov
ef7e8f2107
Make Application to be an AvaloniaObject. With properties and stuff.
7 years ago
Nikita Tsukanov
3e071fc366
Naming
7 years ago
Nikita Tsukanov
3655b6eea1
Move Application.Windows to IClassicDesktopStyleApplicationLifetime
7 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
7 years ago
Dan Walmsley
2891856de7
[OSX] HotFix prevent crashing on app launch.
7 years ago
Steven Kirk
0f25e0548f
Use object for resource keys.
`IResourceDictionary` was defined as an `IDictionary<object, object>` but in various places we only accepted a `string` as the resource key. Fix this inconsistency and always use `object` as a resource key.
Fixes #2456
7 years ago
Benedikt Schroeder
19593825d5
Fix comments
7 years ago
Benedikt Schroeder
d25fba75e5
Add xml comments
7 years ago
Benedikt Schroeder
a14435f59f
Fix unit tests
7 years ago
Benedikt Schroeder
21eda0db12
Revert removal of Application.Initialize
7 years ago
Benedikt Schroeder
05978b0ba6
Make sure Shutdown is only called once
7 years ago
Benedikt Schroeder
7e04215897
No longer set first window opened as MainWindow
7 years ago
Benedikt Schroeder
1bb3156950
Introduce StartupEventArgs and ExitEventArgs
7 years ago
Benedikt Schroeder
5557829950
Initial
7 years ago
Steven Kirk
5ac1430a06
Make sure Application.ResourcesChanged is raised.
Previously if `Application.ResourcesChanged` was null when `Resources` was created, adding the handler via `_resources.ResourcesChanged += ResourcesChanged` did nothing because `ResourcesChanged` was null.
7 years ago
Jeremy Koritzinsky
5fce271ff8
PR Feedback
8 years ago
Jeremy Koritzinsky
ce95625d66
Only add the clock to the render loop if there is a render loop.
8 years ago
Jeremy Koritzinsky
0c611b981d
Refactor clock types.
8 years ago
Jeremy Koritzinsky
6a380d6591
Reorganize RenderLoopClock registration.
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Benedikt Schroeder
90fdfae3bd
Remove invoke call on Application.Run
8 years ago
Benedikt Schroeder
7e8f9fbf61
Add NullArgumentException for Run with main window
8 years ago
Benedikt Schroeder
e576ec178c
Initial
8 years ago
Steven Kirk
68f5cd6dd6
Move DnD classes to Avalonia.Input.
Fixes #1506 .
8 years ago
boombuler
c09233e4b4
renamed DragSource to InProcessDragSource
8 years ago
boombuler
7032b9b8eb
moved Drag+Drop sources to Avalonia.Input
Also the windows specific DragSource is
only used when the application runs as STA
8 years ago
boombuler
7b3942685e
Basic generic + Windows Drag support.
8 years ago
boombuler
30b5a1fd4d
fixed locator setup
8 years ago
boombuler
4c6a341b73
reworked Drag event dispatching
8 years ago
Florian Sundermann
9ae9f6d221
raise routed events on drag and drop
8 years ago
Nikita Tsukanov
479c117103
Allow to pass CancellationToken to Application.Run
8 years ago
Steven Kirk
a72ce3671d
Added ResourceInclude.
9 years ago
Steven Kirk
91387a74e1
Start testing MergedDictionaries.
9 years ago
Steven Kirk
e81b22b9d2
IResourceProvider -> IResourceNode
9 years ago
Steven Kirk
0e155bd2d4
Make dynamic resources work in more situations.
Fixes #492 in a fashion: `DynamicResource` now works for this scenario.
9 years ago
Steven Kirk
2a61bbcb64
Detect resources added in new styles.
9 years ago
Steven Kirk
513efe99f7
Start making DynamicResource react to changes.
9 years ago
Steven Kirk
bf2d403f14
Fix faulty resource lookup.
9 years ago
Steven Kirk
22bda08a90
Lazily initialize DataTemplates.
Added an `IDataTemplateHost` interface with a `IsDataTemplatesInitialized` property to prevent the need for allocating empty `DataTemplates` collections for many controls.
9 years ago
Steven Kirk
090a1ec8cf
Lazily initialize Styles.
Added an `IStyleHost.IsStylesInitialized` property to prevent the need for allocating empty `Styles` collections for many controls.
9 years ago
Steven Kirk
d1fee611bf
IResourceHost -> IResourceProvider.
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Jeremy Koritzinsky
298fa627f8
Implemented binding scheduling via service injection.
9 years ago
Steven Kirk
2f693acaf0
Add IRendererFactory.
I don't like to add factories, but it's better than the previous
`Attach` way of doing things; it's necessary because it's not possible
to pass constuctor parameters using `AvaloniaLocator`.
9 years ago
Steven Kirk
81d31a4e20
Rename RenderLoop -> DefaultRenderLoop.
Make it overridable and register it in the windowing subsystem, so that
windowing subsystems can provide custom implementations.
9 years ago
Steven Kirk
6afa000c42
Added a render loop.
Rather than repainting whenever, this adds a render loop which is called
N times per second. IRenderQueueManager and ITopLevelRenderer have been
removed, replaced by IRenderer.
10 years ago
Nikita Tsukanov
ee37ab8df4
Added UsePlatformDetect
10 years ago