Report question

Question: how to add event handler to control in datatemplate in resource dictionary