In WinForms_XAMLIslands_v1 example.
Listview add items causes the mouse cursor to become an arrow
Reappear:
- Add in mainpage.xaml of WinForms_XAMLIslands_v1 - UWPApplication project
<Grid Background="Red">
<ListView x:Name="testListView"/>
</Grid>
- Add in mainpage.xaml.cs
public MainPage()
{
try
{
this.InitializeComponent();
}
catch
{
this.InitializeComponent();
}
Test();
}
async void Test()
{
await Task.Delay(1000);
testListView.Items.Add("new item");
Test();
}
- Run, zoom the window and hold down the mouse. You will find that the mouse will force the mouse cursor to become an arrow when adding items.
The same code will not cause problems in uwp applications.
In WinForms_XAMLIslands_v1 example.
Listview add items causes the mouse cursor to become an arrow
Reappear:
The same code will not cause problems in uwp applications.