Consider this XAML snippet
<Window.Resources>
<Style x:Key="dd" TargetType="Button">
<Setter Property="Background" Value="Pink"/>
<Setter Property="Foreground" Value="Blue"/>

</Style>

</Window.Resources>

<Grid>
<Button Height="100" Width="100" Foreground="Yellow" Content="click here" Background="Yellow"/>
</Grid>
What is the Backcolor of the Button

 Posted by Ddd on 1/15/2011 | Category: WPF Interview questions | Views: 23110 | Points: 40
Select from following answers:
  1. Pink
  2. Blue
  3. Yellow
  4. None of these
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response