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
Dariusz Komosinski
8eb9afa815
Specify string type directly.
5 years ago
Steven Kirk
079d1d6436
Turn off light dismiss for non-toplevel menus.
#5295 enabled the light dismiss overlay for popups, which in turn broke submenu interactions (#5475 ). The fix seems to be simple: turn off light dismiss for non-toplevel menus. These menus will be in popups so this means their behavior will be reverted to that of before #5295 .
Fixes #5475
5 years ago
Dariusz Komosinski
b460a5f120
Use text node instead.
5 years ago
Dariusz Komosinski
8d90e8b919
Update XamlX
5 years ago
luthfiampas
4f96de0e6b
fix slow/delay TextBox selection
5 years ago
Dariusz Komosinski
4554884728
Parse classes during XAML compilation.
5 years ago
Max Katz
2a8b7302ce
Enable nullable reference types on Avalonia.ReactiveUI project
5 years ago
Steven Kirk
97c3c10e2c
Respect ContextMenu.PlacementTarget again.
5 years ago
Steven Kirk
06307865dc
When clearing focus don't reselect the existing focus scope.
Fixes #4906 .
5 years ago
Steven Kirk
4003b1e40d
Pass clicked control as placement target.
Moved the implementation of `ContextMenu.Open` into a private method that accepts a control and a placement target. When calling `Open` due to a right-click in `ControlPointerReleased`, call this method with the clicked control as the placement target.
Fixes #5101
5 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago
Max Katz
3417cebae1
Update progress bar samples to include Maximum/Minimum examples
5 years ago