Give an example of creating button in XAML ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: Silverlight Interview questions | Views: 1308 | Points: 40
Answer:

In XAML, a button can be created as in the following example:

Example:

<Grid x:Name="LayoutRoot" Background="White">

<Button Width="60" Height="30">Click Here</Button>
</Grid>


But in Visual Studio, you can directly create a button.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response