CS411 Assignment No. 02 VIsual Programming Solution and Discussion Fall 2014 Due Date: 15 Dec,2014.


Assignment Questions



Solution 1: Marks 10



Consider the following code for declaring "Button" in XAML. You have to apply the provided "Trigger" Property on this button.



<Button MouseEnter=”Button_MouseEnter” MouseLeave=”Button_MouseLeave” MinWidth=”75” Margin=”10”>Go</Button>



<Trigger Property=”IsMouseOver” Value=”True”>

<Setter Property=”Foreground” Value=”Blue”/>

</Trigger>

Sponsored Links





Solution 2: Marks 10



Write the XAML code to create a "DockPanel" having four (4) buttons with dock settings i.e. Top, Left, Right and Bottom.