Skip to content

Listview add items will force the mouse cursor to become an arrow #64

@sudongg

Description

@sudongg

In WinForms_XAMLIslands_v1 example.
Listview add items causes the mouse cursor to become an arrow

Reappear:

  1. Add in mainpage.xaml of WinForms_XAMLIslands_v1 - UWPApplication project
    <Grid Background="Red">
        <ListView x:Name="testListView"/>
    </Grid>
  1. 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();
        }
  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions