Mouse Events in Silverlight PRO

We can easily handle the various mouse events by referring their events. These events are usually available as properties of the elements we work with. The following code sample access those properties using their corresponding attributes in the XAML code. The XAML file: <UserControl x:Class=”SilverlightApplication13.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> <Canvas x:Name=”Surface” Grid.Column=”0″> […]

Skip to content Update cookies preferences