Reason:
1. In your .xaml file, you have an attribute which is not supported by XAML parser as shown in below screen shot.

2. In your .xaml file you have declared an event for a control, but didn't implement the event handler for the same in .xaml.cs or .xaml.vb file.

In above screen shot you must implement the eventhandler "OnClick" event as shown below:
