Mouse Events in Silverlight <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>PRO</a></font>

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″> […]

Shenkar Scala Programming Autumn 2011 <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>INFO</a></font>

During the coming semester I am going to deliver the Java & Scala Programming course in Shenkar. Its official name is ‘Internet Programming’. I deliver this course as part of Shenkar’s Software Engineering BSc academic program. The course starts with a detailed coverage of the Java SE programming language and continues with a detailed coverage of Scala. […]

Font Families in Silverlight <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>PRO</a></font>

Using a new font family in a Silverlight application is fairly simple. There are several ways for doing it. The simplest of them is adding the TTF file to our application (simple drag & drop when using the Visual Studio IDE) and referring it from within the XAML file. <UserControl x:Class=”SilverlightApplication15.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ […]