Tuesday, 25 February 2014

Which one of the following code snippets can be used to style a Button control with the numericButtonStyle style?

Which one of the following code snippets can be used to style a Button control with the numericButtonStyle style?
1. <Button Content="1" Style="{StaticResource   numericButtonStyle}"></Button>
2. <Button Content="1" Style="{Binding   numericButtonStyle}" ></Button>
3. <Button Content="1"   Style="{numericButtonStyle}"></Button>

4. <Button Content="1"   Style="numericButtonStyle"></Button>

Solution:
Solution:
1. <Button Content="1" Style="{StaticResource
  
numericButtonStyle}"></Button>

No comments:

Post a Comment