Routed events

There are 1 entries for the tag Routed events
WPF vs Silverlight 2.0: Attenzione ai routed events...

Spulciando la documentazione di Silverlight 2.0 ho notato una diversa gestione dei routed events rispetto a WPF che in alcuni casi può modificare il comportamento finale di un applicazione. Partiamo da questo XAML scritto per WPF: <Window x:Class="WPF_RoutedEvents.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WPF routed events" Height="288" Width="473"> <Grid MouseLeftButtonDown="Grid_MouseDown"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" MouseLeftButtonDown="StackPanel_MouseDown"> <Image HorizontalAlignment="Center" Source="BMP.png" Height="75" /> <Image HorizontalAlignment="Center" Source="JPG.png" Height="75"...

posted @ lunedì 10 marzo 2008 20:39 | Feedback (0)