I am sorry but I am unable to follow this approach.Could you please attach a template xaml file. Would be of great help.