locked
button click

    Question

  • how to display description in text block for respective button click??
    Monday, March 10, 2014 4:02 PM

Answers

  • I think this is what you want:

    <Button content="This is button 1" Click="Button1_Click" x:Name="Button1"/>

    <Button content="This is button 2" Click="Button2_Click" x:Name="Button2"/>


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, March 10, 2014 4:35 PM
    Moderator