WPF Obtenez le nom de l'élément cliqué
FrameworkElement s = sender as FrameworkElement;
string name = s.Name;
Solstice
FrameworkElement s = sender as FrameworkElement;
string name = s.Name;