File tree 1 file changed +3
-3
lines changed
src/Avalonia.FuncUI.ControlCatalog/Avalonia.FuncUI.ControlCatalog/Views/Tabs
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ module DragDropDemo =
78
78
Border.create
79
79
[ Border.classes [ " drop" ]
80
80
Border.padding 16.0
81
- DragDrop .allowDrop true
81
+ Control .allowDrop true
82
82
Border.child
83
83
( TextBlock.create
84
84
[ TextBlock.text state.dropText
85
- DragDrop .onDrop ( fun e ->
85
+ Control .onDrop ( fun e ->
86
86
if e.Data.Contains( DataFormats.Text) then
87
87
Dropped( e.Data.GetText()) |> dispatch
88
88
elif e.Data.Contains( DataFormats.Files) then
@@ -92,7 +92,7 @@ module DragDropDemo =
92
92
|> String.concat Environment.NewLine)
93
93
|> dispatch
94
94
)
95
- DragDrop .onDragOver ( fun e ->
95
+ Control .onDragOver ( fun e ->
96
96
e.DragEffects <-
97
97
if e.Data.Contains( DataFormats.Text)
98
98
|| e.Data.Contains( DataFormats.Files) then
You can’t perform that action at this time.
0 commit comments