Max Katz
3a66523fee
ProgressBar missed TemplateBinding.CornerRadius
5 years ago
Greig Lambourne
5c31f91914
Changed to use IStyle instead of style.
5 years ago
Greig Lambourne
3984acb69f
Add DesignStyle property which allows style to be assigned only at design time, similar to WPF.
5 years ago
Nikita Tsukanov
acc6f6d319
[X11/RNDR] Wait for any in-progress rendering before destroying the window
5 years ago
Lighto
db546a4578
Allow popups to move using horizontal or vertical offsets like in WPF ( #6575 )
* Added support for moving popup using Horizontal/Vertical offsets
* Changed HandlePositionChange to trigger on static property change event
5 years ago
workgroupengineering
4a9a2b0ac0
fix: Issue #5637 ( #5638 )
* fix: Issue #5637 DataGridTemplateColumn incorrect select template when DataGridRow Recycled
* fixes(DataGrid): Binding Exception on DataGridTemplateColumn
5 years ago
Wiesław Šoltés
4eff3852ee
Set MenuItem icon presenter size from style
5 years ago
Giuseppe Lippolis
7a8650ae06
fixes(Datagrid): Avoid using Threading.Dispatcher.UIThread.Post(
5 years ago
Giuseppe Lippolis
c919109be6
fixes(DataGrid): Issue #6567 New line in Editable DataGrid, Not editable
5 years ago
Dan Walmsley
5b28a2d94c
fix build.
5 years ago
Dan Walmsley
42763792f4
use existing extensions class.
5 years ago
Dan Walmsley
aa5ae23607
move duplicated code to an extension method.
5 years ago
Dan Walmsley
907b55cb7e
CompiledBinding correctly locates IDataContextProvider as anchor. (implementation was in ReflectionBinding but missing from CompiledBinding)
5 years ago
Tako
c6f9c6a820
Implement MaskedTextBox ( #6453 )
5 years ago
Dan Walmsley
35bc310fcd
win32 - dont loose window state when hide and show are called programatically.
5 years ago
Takoooooo
69a3997451
upd
5 years ago
Jumar Macato
b6650a8e4b
Update src/Avalonia.Controls/AutoCompleteBox.cs
5 years ago
Takoooooo
3c33ee41b1
fix
5 years ago
Takoooooo
60b3e028b5
fix
5 years ago
Yoh Deadfall
0c20e122ba
Code deduplication
5 years ago
Yoh Deadfall
f14816144b
Compiler intrinsic based type nullability check
5 years ago
Steven Kirk
2a09574ba7
Revert "Fixed gradient brush target rectangles."
Reverts #6066 . Keeps the render tests to demonstrate that the WPF behavior can be reproduced by pushing a translation.
5 years ago
Takoooooo
2270b09266
revert
5 years ago
Takoooooo
df5a9c7afc
wip
5 years ago
Takoooooo
5c1fd27d1f
wip
5 years ago
Takoooooo
01518b37e7
test
5 years ago
Takoooooo
063e5e7be3
test
5 years ago
Sergey Mikolaytis
3aa38398ff
Fix alt down shortcuts and allow alt down handling for end users ( #6491 )
* [Menu] [Interaction] Allow end user to change menu show delay globally
* Fix all alt down handle = true by AccessKeyHandler
Co-authored-by: Max Katz <maxkatz6@outlook.com>
5 years ago
Giuseppe Lippolis
68370e37a5
fixes(DataGrid): Issue #6508 does not re-enter the edit mode after pressing ESC
5 years ago
Takoooooo
22432a002d
test
5 years ago
Giuseppe Lippolis
c8b97e358e
fixes(Doc): fixes AvaloniaList XML Comments
5 years ago
Giuseppe Lippolis
10e3fc7828
fixes(DataGrid): Warning CS0414 The field 'CellEditBinding.SubjectWrapper._settingSourceValue' is assigned but its value is never used
5 years ago
Max Katz
825ddc9cca
Use routed events
5 years ago
Max Katz
56709c9982
Add text box clipboard events
5 years ago
Giuseppe Lippolis
7ee5446ee4
fixes(DataGrid): Warning CS0649 Field 'DataGridPathGroupDescription._valueConverter' is never assigned to, and will always have its default value null
5 years ago
Tako
3867a68ade
Fix EntryPointNotFound on Windows 8 due to missing version check ( #6471 )
* Prevent calls to unavailable entrypoint 'GetDpiForMonitor' on Win8 (#5357 )
* Introduce Windows8 platform constant
* wip
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: Tim Schneeberger <thebone.main@gmail.com>
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
5 years ago
Giuseppe Lippolis
8dbf3bf86e
fixes(Win32.Interop): field 'Direct2DImageSurface._oldDpi' is never assigned to, and will always have its default value
5 years ago
Steven Kirk
341e435321
Check enabled state as well as visibility.
WPF and Avalonia's `IsEnabled` properties are slightly different.
In WPF if reflects both the enabled state of the actual control and the effectively enabled state which comes from ancestor controls. In Avalonia that effectively enabled state is exposed on a different property: `IsEffectivelyEnabled`. When I ported the tab navigation code from WPF, I didn't take that into account.
WPF's visibility property however doesn't reflect the state of a control's owners and so tab navigation for invisible controls works correctly. Take advantage of this fact by changing any checks for `IsVisible` to also check `IsEnabled`.
5 years ago
Tako
d082ad91d8
Update AvaloniaSynchronizationContext to don't wrap exceptions to AggregateException when invoking from non-UI thread
The code suggested by the user makes sense to me. Reproed issue with
` try
{
var ctx = SynchronizationContext.Current;
await Task.Run(() => ctx.Send(state => throw new ArgumentException("hello"), null));
}
catch (ArgumentException ex)
{
Console.WriteLine(ex.Message);
}
catch (AggregateException ex)
{
Console.WriteLine(ex.Message);
}` this code
5 years ago
kaminova
dcc033f819
Close popup if combobox is not visible ( #6404 )
* Close popup if combobox is not visible
* fix unsupported feature
Co-authored-by: kaminova <flake@inbox@gmail.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
5 years ago
Sergey Mikolaytis
1a95905efe
[Menu] [Interaction] Allow end user to change menu show delay globally ( #6392 )
Co-authored-by: Max Katz <maxkatz6@outlook.com>
5 years ago
Steven Kirk
5df9e5760c
Add #nullable and XML doc comments to system dialogs.
5 years ago
Max Katz
0f83ccb4b0
ContentPresenter should create child without content, if template was set ( #6226 )
* Fix #6224
* Fix data templates Match
* Do not use preview features
* Do not create Child if Content is null and DataTemplate was set
* Update src/Avalonia.Base/Utilities/TypeUtilities.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs
5 years ago
Steven Kirk
51862d1b4b
Don't display warning when TryCreateAndRegister succeeds.
5 years ago
Wiesław Šoltés
7aa6152b34
Revert "Fix skia OpacityMask push and pop methods"
This reverts commit dc404b545e .
5 years ago
Wiesław Šoltés
834f3b01b8
Add Not value converter to BoolConverters
5 years ago
Wiesław Šoltés
08dea6498e
Check for TextBox.Text null in AutoCompleteBox
5 years ago
Luis von der Eltz
71ac5e3db8
Only IPopupHost should be root visual
5 years ago
Luis v.d.Eltz
08849539a7
Update comment
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
5 years ago
Luis v.d.Eltz
d666a4263c
Update comment
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
5 years ago