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