How to define a button USING XAML?

 Posted by Abhisek on 2/22/2010 | Category: WPF Interview questions | Views: 5968

To define a button in WPD using XAML use the following syntax,
<Button Name="btnName">btnCaption</Button>

<Button Name="btnClick">Click Me</Button>

Here the <Button> element specifies the use of the Button class.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response