Steven Kirk
1293e9af8d
Implemented Menu interactions.
8 years ago
Steven Kirk
9e2e266d3c
Handle navigation in TreeView.
8 years ago
Steven Kirk
2584f4bb18
Removed directional navigation code.
8 years ago
Steven Kirk
895a24fb9e
Raise pointer enter/leave events in correct order.
Previously, enter events were raised before leave events.
8 years ago
Steven Kirk
3f0c7650e5
Make sure IsPointerOver is correctly set.
Reset the handled state for `PointerEnter`/`PointerLeave` on each control invocation, and don't allow the user to skip setting `IsPointerOver`
8 years ago
Jeremy Koritzinsky
72a4889435
Move Control static constructor statements to more accurate layers.
8 years ago
Steven Kirk
de0d9180e4
Moved AssemblyInfo back into Properties.
8 years ago
boombuler
2c53bf4750
send the modifiers with drag events
8 years ago
Steven Kirk
7588b16044
Reworked TypeConverters.
I started fixing #1559 and decided to rework our `TypeConverter` infrastructure a bit.
This PR renames `AvaloniaDefaultTypeConverters` to `AvaloniaTypeConverters` and allow registration of 3rd party converters here.
`AvaloniaTypeConverters` improves upon the type converter functionality in the BCL by providing the followinng extra functionality:
- Allow registering non-constructed generic types (such as `AvaloniaList<>`) - `AvaloniaTypeConverters` will do the sensible thing and create an `AvaloniaListConverter<T>` with the correct type
- If no type converter is provided, look for a a static `Parse(string)` method which can be used to create an implicit type converter
This allows us to remove a bunch of `TypeConverter`s which just called the relevant `Parse` method.
Fixes #1559
8 years ago
Wiesław Šoltés
3fb17af571
Remove null check
8 years ago
Wiesław Šoltés
7b56a5cc1c
Remove code duplication
8 years ago
Wiesław Šoltés
ee0c3dfa94
Add GetPosition method to DragEventArgs
8 years ago
Jumar Macato
b161593994
Moved version and xaml props to build directory.
added Directory.Build.Props to src & samples directory.
cleaned up Avalonia.Markup.csproj. Will do more test to do the same on
Avalonia.Markup.Xaml.
8 years ago
Jumar Macato
7ae90eb7c5
Cleanup all the csproj's that can be cleaned. Ported RenderTest and VirtualizationTest samples to .NET Core.
8 years ago
Steven Kirk
68f5cd6dd6
Move DnD classes to Avalonia.Input.
Fixes #1506 .
8 years ago
boombuler
d5d8d049a4
Renamed AcceptDrag to AllowDrop and added docs
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
sdoroff
28c78d3fc9
Moved the setting of FocusedElement
This allows the LostFocus event to check the newly focused element
8 years ago
boombuler
74163ff668
Added D+D StandardCursors
8 years ago
sdoroff
c5608bd386
Moved the setting of FocusedElement
This allows the LostFocus event to check the newly focused element
8 years ago
sdoroff
f50223cb0d
Fixed a bug in tab navigation
TabNavigation.GetFirstInNextContainer would only check one sibling
and would move up to the parent if the first sibling was not focuable
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Jeremy Koritzinsky
b463d04e9f
Make KeyGestures with +,-,. in them match with both the non-numpad keys and the matching numpad keys.
Fixes #225
8 years ago
Unknown
ea65626a46
use lower case extensions for avalonia documentation files.
8 years ago
Jurjen Biewenga
0590465a0a
Reverted keyboard device
8 years ago
Steven Kirk
763775fa82
Clear mouse capture when control removed.
When a captured control is removed from the visual tree, clear the mouse capture.
Note that our capture logic needs to be improved - it shouldn't be possible to capture a non-visible or non-enabled control. This doesn't address that but it does fix the crash in #1203 .
Fixes #1203
8 years ago
Jurjen Biewenga
10551b7b31
Added array to filter out specific chars from the input text
Added '' to the invalid chars array
8 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Nikita Tsukanov
a2551d505b
Initial effort on Remote
9 years ago
Nikita Tsukanov
6b91850579
Switched to netstandard1.3
9 years ago
Nikita Tsukanov
6c4bbdcc4d
Added System.ValueTuple to dependency list
9 years ago
Steven Kirk
04dc48afef
Added missing doc comments.
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
a1d6406ce9
Only set focus on left button click.
9 years ago
Nikita Tsukanov
91691c30a7
PR notes
9 years ago
Nikita Tsukanov
21da2df1ec
Call ProcessRawEvent directly from the input manager
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
e015ef07bf
Remove ReactiveUI dependency from DevTools.
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Wiesław Šoltés
a26c261aad
Fixed OnPointerReleased parameter type
9 years ago
Steven Kirk
d61d95af19
Ported changes to Avalonia.Input from scenegraph.
Fixed some doc comments, and updated the mouse-over algorithm.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
96d9cfa2fc
Use the default compile items in core libs.
Now we're using the new project system, we don't have to have a
`<Compile Include="..."/>` element for each file.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago
Nikita Tsukanov
e35b2af5b2
Don't use multitargeting (we are using only one target anyway)
9 years ago
Nikita Tsukanov
e780c4201a
Switched to .NETStandard (mostly 1.1)
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago