Answer: To define a button in WPD using XAML use the following syntax,
<Button Name="btnName">btnCaption</Button>
Example:-
<Button Name="btnClick">Click Me</Button>
Here the <Button> element specifies the use of the
Button class.
Asked In: Many Interviews |
Alert Moderator