This application is not supported on mobile browsers.

Remove Method

We'll allow the user to remove any item from the collection.

The Remove method needs to know the item to be deleted. We can pass it as a parameter.

<dot:Button Click="{command: _root.Remove(_this)}"
            Text="Remove Item" />


  • Inside the Remove method, delete the item parameter from Items.