Dan Walmsley
c4aea496e2
changes towards building on apple sillicon.
5 years ago
Dan Walmsley
c321127a56
remove IsSingleInstance
5 years ago
Dan Walmsley
344c876c44
add an options class for ClassicDesktopStyleApplicationLifeCycle.
5 years ago
Dan Walmsley
9d4ab09dd7
fix typo
5 years ago
Dan Walmsley
6ee69afd0d
remove uri check.
5 years ago
Dan Walmsley
c204f4f223
try and parse as a uri before raising event.
5 years ago
Dan Walmsley
60f9408b45
only raise urls opened event from classic lifetime if there are arguments.
5 years ago
Dan Walmsley
890185ea02
ClassicDesktopApplicationLifetime raises urlsopened api.
5 years ago
Dan Walmsley
8e6502f222
much simpler interface with application class and platform events.
5 years ago
Dan Walmsley
9ded3bc2d3
make event name plural
5 years ago
Dan Walmsley
cf88222031
add implementation of url event for application class.
5 years ago
Dan Walmsley
20ddbf8dd8
OSX - add interface for file/url opened api.
5 years ago
Kristian Mosegaard
bff77680b9
Attach CloseOnClickChanged event handler for NotificationCard.
5 years ago
Dan Walmsley
fe0b343b38
fix window sizing when client area is extended on win32
5 years ago
Dan Walmsley
8b2fb2711a
fix return value.
5 years ago
Dan Walmsley
e85da082b0
fix handleclosing logic.
5 years ago
Rustam Sayfutdinov
e7c5cb10cb
Fix typo in doc for Visual.cs
5 years ago
Steven Kirk
6fecb61da0
Added nullable annotations to Control class.
And update a bit of stuff to more modern C#.
5 years ago
Dan Walmsley
50a88ae2db
share cancel event args and ensure event is raised on all windows.
5 years ago
Dan Walmsley
460a5ba5ae
whitespace.
5 years ago
Dan Walmsley
411b8f0398
enumerate child windows and find out if close will be cancelled before closing.
5 years ago
sdoroff
5b967cc1bc
Fix DataGidCollectionView grouping bug
5 years ago
Yoh Deadfall
f831b5d346
Fixed parameter name in uniform grid state
5 years ago
Yoh Deadfall
da9b7c32ac
Branchless data index check
5 years ago
Dan Walmsley
111a9c80ab
allow user to disable generation of default appmenu items on osx.
5 years ago
Yoh Deadfall
8f330b0b82
Return desired size as is without recreating it
5 years ago
Dan Walmsley
30a0be6ef5
missing using.
5 years ago
Dan Walmsley
d8d6a47809
make cell template the content of DataGridTemplateColumn
saves a lot of bloat when decalring TemplatedColumns.
5 years ago
Giuseppe Lippolis
0a54da63ec
fixes invalid name of DirectProperty in Avalonia.Animation.Animation
5 years ago
Anton Ryzhov
29ddaf6666
Calling default constructor of FormattedText to assign _platform #5576
5 years ago
Dariusz Komosinski
38ebab0916
Add info about how many styles are active and allow for showing inactive styles.
5 years ago
Steven Kirk
1837548b3b
Fix TabItems leaking.
When a `TabItem` was created a binding was being set up to the owner `TabControl` but that binding was never being freed.
Ideally we'd be setting these properties in XAML rather than hardcoding them in the generator but that would be a breaking change for everyone who re-templated `TabControl`.
As a second-best option what we'd do is set up a `$parent` binding in the generator but this isn't available in Avalonia.Controls so had to implement a quick observable which watches for a parent `TabControl` and subscribes to it.
5 years ago
Dariusz Komosinski
161b9374a5
Add style snapshotting and context menus to copy property values.
5 years ago
Dariusz Komosinski
bf40bae0ed
API diff update.
5 years ago
Dariusz Komosinski
02fa3502e0
Cleanup styling code.
5 years ago
Dariusz Komosinski
e428d5601a
General UX improvements.
5 years ago
Dariusz Komosinski
188faa07c5
WIP setup for inspecting styles.
5 years ago
Splitwirez
e0bed9a532
Added `Parse` method to `PathFigures` class
5 years ago
luthfiampas
a4477e7de6
set default value of IsTextSearchEnabled to true
5 years ago
luthfiampas
e6952dc352
rename AutoSelect to TextSearch
5 years ago
Steven Kirk
28b2e2061e
Don't call SetFocus on Windows with ShowActivated == false.
This was causing the window to get activated.
5 years ago
Steven Kirk
1fff724478
Removed unneeded binding.
Co-authored-by: Max Katz <maxkatz6@outlook.com>
5 years ago
Steven Kirk
47250e1426
Turn off light dismiss for non-toplevel menus.
For default theme.
5 years ago
Steven Kirk
012e28f52b
Add IsDirectionReversed to Slider.
Fixes #3617 .
5 years ago
Steven Kirk
4327c36c66
Fix slider keyboard interaction.
- Now `Slider` can be itself focused, handle the key events from the control, not the `Track`.
- Reverse the direction in which the page up/down keys move the slider in order to work as expected
- Make up/down arrows work as well as left/right
Fixes #4205
5 years ago
Steven Kirk
dedc9c9f89
Fix Slider focus.
Previously the `Slider` itself was not focusable but the repeat buttons were - instead make the slider focusable and the repeat buttons unfocusable.
5 years ago
Jeffrey Ye
ad6b76be7f
ignore all exceptions
5 years ago
Jeffrey Ye
52a3b6ef19
Fix #5541
5 years ago
Dariusz Komosinski
11e2d9250c
Reduce memory pressure when using bindings.
5 years ago
Steven Kirk
aa737fbd58
Dispose the frame returned from BitmapDecoder.GetFrame.
Fixes #975 .
5 years ago