Tim
69525b8d55
Use IsKeyboradFocusWithin instead of IsFocused
4 years ago
Nikita Tsukanov
9e5050cab9
Fixed some of Rider's complaints
4 years ago
Giacomo Gozzi
4fbb93a03c
Fix #7227
4 years ago
Takoooooo
5172771a79
refactoring
4 years ago
Takoooooo
d258fb17bb
Make Mode property stylable and new theme switching in ControlCatalog.
4 years ago
Giuseppe Lippolis
2ac4eafdcf
fixes: WarningsAsErrors in Visual Studio
4 years ago
Tim
6ef87ff047
Improve ButtonSpinner OnPointerWheel
- Only handle the PointerWheelEvent if the control has the focus
- When the pointer wheel should change the selection, mark the event as handled. So any surrounding ScrollViewer does not do the scroll.
- Make the Control Focusable by default in Style
4 years ago
Nikita Tsukanov
240050dd8a
Stopgap measure to fix #7245
4 years ago
Jeremy Koritzinsky
46ffcf9eee
Support the DataType property in a binding in the DataContext property.
4 years ago
Jeremy Koritzinsky
5992d89b7d
Add a DataType property on CompiledBindingExtension to enable specifying the start type explicitly on a binding.
Fixes #6158
4 years ago
Takoooooo
7fad72cca6
fix
4 years ago
Steven Kirk
a0c10cd6bf
Use GetRequiredService throughout.
4 years ago
Tako
1fbcd61e6f
Fix DoubleTapped on touch ( #7213 )
DoubleTapped now can be triggered by touch
Fixed DoubleTapped triggering logic, previously it could be triggered only when you click twice, didn't work when you click 4 times,6, etc.
Fixed Tapped to be triggered only once when you double-click, now it triggers Tapped once and DoubleTapped once instead of triggering Tapped two times and DoubleTapped once.Matches UWP behaviour.
4 years ago
Steven Kirk
e84b5f8244
Added AvaloniaLocation.GetRequiredService.
Using the pattern from elsewhere e.g. https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.serviceproviderserviceextensions.getrequiredservice?view=dotnet-plat-ext-6.0
4 years ago
Steven Kirk
328199b2d2
Added nullable annotations to Avalonia.Styling.
4 years ago
Javier Suárez Ruiz
077364f255
Allow launch ControlCatalog in Android
4 years ago
Tim
e7286a8df8
Remove unused private voids
4 years ago
Nikita Tsukanov
0f3b97a752
Use pointer position relative to the scroll gesture recognizer target
4 years ago
Tim U
f69e3e642e
Fix: BlackoutDates test was failing
- Revert listen to colleciton changes as the collection is already synced
- Setup the needed bindings in the test control
4 years ago
Tim
f8f4b91d93
Update Calendar in CalendarDatePicker Popup properly
- Use `TemplateBinding`
- Reflect changes of the blackout dates collection
5 years ago
Giuseppe Lippolis
1aa0d5b68c
fixes: null annotation
4 years ago
workgroupengineering
f9956e5ba9
fixes:(XMLDOC): update xml comment ( #6999 )
* fixes:(XMLDOC): update xml comment
* Update src/Avalonia.Controls/Grid.cs
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
4 years ago
Steven Kirk
ecb981da2d
Small tidy up.
4 years ago
Steven Kirk
2de57da8ff
Added nullable annotations to Avalonia.Layout.
4 years ago
Takoooooo
22be081257
more refactorings
4 years ago
Takoooooo
9c8b68ff5d
more refactorings
4 years ago
Takoooooo
032b78cd06
wip
4 years ago
Takoooooo
69c1a37372
some very initial implementation
4 years ago
abdesol
7f20078e4f
removed focus fix and added test in sandbox
4 years ago
Steven Kirk
f092724fd8
Fixed another mistake made when adding nullable annotations.
5 years ago
Steven Kirk
7983a496e3
Fix mistakes made when adding nullable annotations.
I shouldn't be doing this stuff when I'm tired.
5 years ago
Steven Kirk
1bacdc4b6e
Added nullable annotations for DrawEllipse.
5 years ago
Steven Kirk
1524274a3b
Add a hacky exception for existing potential problem.
This isn't good, but I don't want to change that as part of adding nullable annotations.
5 years ago
Steven Kirk
4582b43118
More nullability fixes.
5 years ago
Benedikt Stebner
42f552d803
Nullability for text related types
5 years ago
Steven Kirk
882e3b79b5
Disable CS8632 in Avalonia.Build.Tasks.
`CS8632 The annotation for nullable reference types should only be used in code within a '#nullable' annotations context`: need to supress this as the project includes files from Avalonia.Visuals which now has nullable annotations enabled.
5 years ago
Steven Kirk
22a55fed27
Added a lot of nullable annotations to Avalonia.Visuals.
Except types related to text and one method in `DrawingContext` which I'm not sure what to do with.
5 years ago
Jeremy Koritzinsky
7624e14bcd
Support RelativeSource-based bindings without requiring an x:DataType property.
Only require an x:DataType property when we actually use it.
5 years ago
Max Katz
647cfe68bc
Update ListBoxItem.xaml
5 years ago
Jumar Macato
18115363f8
Update src/Avalonia.Native/AvaloniaNativePlatformExtensions.cs
Co-authored-by: Max Katz <maxkatz6@outlook.com>
5 years ago
Steven Kirk
e4b19743ca
baseUri can be null.
5 years ago
Steven Kirk
76667dbd0d
Finished adding nullable annotations to Avalonia.Base.
5 years ago
Steven Kirk
c9c9d05098
Fix nullable reference errors.
The projects that have nullable reference types enabled are now generating errors instead of warnings, so fix those errors.
5 years ago
Steven Kirk
50659d9c2a
Enable nullable reference checking via .props file.
The Nullable annotations on netstandard2.0 are incomplete and incorrect in places. Ignore nullable warnings on netstandard2.0 and make them errors on later target frameworks.
5 years ago
Nikita Tsukanov
a96cb03ad6
[X11] Dispose transparency helper
5 years ago
Dan Walmsley
048cf388bc
allow disabling of osx menu export.
5 years ago
Benedikt Stebner
2633cf3ba4
Introduce FontManagerOptions ( #7089 )
* Introduce FontManagerOptions
* Add missing comments
5 years ago
Dan Walmsley
a6ebc4d2e1
fix wasm targets
5 years ago
Giuseppe Lippolis
a973fcc1f8
fixes(DevTools): do not drill down on double click when property type is string or ValueType.
5 years ago
Dan Walmsley
ebb90a58da
allow configurable skia resource limit.
5 years ago