1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| <Canvas Name="Geneva" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="44,55,0,0"
Visibility="{Binding ElementName=europa, Path=IsZoomed, Mode=OneWay, Converter={StaticResource visibilityConverter}}">
<TextBlock Name="textGeneva" Text="Geneva" FontSize="3" Foreground="Orange" Visibility="Collapsed" />
<Ellipse Name="geneva" Height="2" Width="2" Fill="Orange" MouseEnter="geneva_MouseEnter"
MouseLeave="geneva_MouseLeave" Canvas.Top="4" Canvas.Left="10" Cursor="Hand"/>
</Canvas>
<Canvas Name="Lyon" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="41,62,0,0"
Visibility="{Binding ElementName=europa, Path=IsZoomed, Mode=OneWay, Converter={StaticResource visibilityConverter}}">
<TextBlock Name="textLyon" Text="Lyon" FontSize="3" Foreground="Orange" Visibility="Collapsed" Canvas.Top="2" />
<Ellipse Name="lyon" Height="2" Width="2" Fill="Orange" MouseEnter="lyon_MouseEnter" MouseLeftButtonUp="lyon_MouseLeftButtonUp"
MouseLeave="lyon_MouseLeave" Canvas.Top="0" Canvas.Left="9" Cursor="Hand"/>
</Canvas>
<Canvas Name="London" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="31,44,0,0"
Visibility="{Binding ElementName=europa, Path=IsZoomed, Mode=OneWay, Converter={StaticResource visibilityConverter}}">
<TextBlock Name="textLondon" Text="London" FontSize="3" Foreground="Orange" Visibility="Collapsed" />
<Ellipse Name="london" Height="2" Width="2" Fill="Orange" MouseEnter="london_MouseEnter"
MouseLeave="london_MouseLeave" Canvas.Top="4" Canvas.Left="9" Cursor="Hand"/>
</Canvas> |
Partager