c# - XAML - Way to find which button is clicked -


i developing windows store app.

i loading xaml code dynamically c# code behind file. so, not add click event buttons.

is there way know button clicked using button names out click event?

you should mvvm , command patterns wpf development. click event handler outdated windows forms programming. in wpf, command pattern represented icommand interface. each button has command property can bind command object.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -