Listing 1: XAML behind Figure 4

	<Panel.Children>
		<Rectangle Height="61" Canvas.Left="119.5" Stroke="#FF000000"
		StrokeThickness="5" Canvas.Top="135.72333333333" Width="210">
			<Shape.Fill>
				<RadialGradientBrush Center="0.5,0.5"
				GradientOrigin="0.5,0.5" Opacity="1" RadiusX="0.5"
				RadiusY="0.5">
			<GradientBrush.GadientStops>
				<GradientStopCollection>
					<GradientStop Color="#FF0000FF" Offset="0"  />
					<GradientStop Color="#FF000080" Offset="1" />
					<GradientStop Color="#FF39B2FF" Offset="0.833684
					83341075672" />
				</GradientStopCollection>
			</GradientBrush.GradientStops>
		</RadialGradientBrush>
	</Shape.Fill>
<Rectangle>
	<Rectangle Height="21" Canvas.Left="121.5" Render-
	Transform="translate(-163 -10.5) rotate(-15)
	translate (163 10.5)" Stroke="#FF000000" StrokeThickness="0"
	Canvas.Top="208.723333333333" Width="326"
		<Shape.Fill>
			<LinearGradientBrush EndPoint="1,0.707106781186547" Opacity="1">
				<GradientBrush.GradientStops>
					<GradientStopCollection>
					 <GradientStop Color="#FFFF3526" Offset="1" />
					 <GradientStop Color="#FFFCFF22" Offset="0.5" />
					</GradientStopColection>
				</GradientBrush.GradientStops>
			</LinearGradientBrush>
		</Shape.Fill>
	</Rectangle>
		<Ellipse Fill+"LinearGradient 0,0 0.707106781186547 #FFFF4500 #FFDC143C"
		Height="103" Canvas.Left="209.5" StrokeThickness="1" Canvas.Top="161.723333333333"
		Width="115">
		<Shape.Stroke>
			<SolidColorBrush Color="#FFFF192A" Opacity="0.35792	182330596739" />
		</Shape.Stroke>
	</Ellipse>
		<Ellipse Fill="LinearGradient 0,0 0.707106781186548,
		0.707106781186547 #FFFF4500 #FFDC143C"
		Height="0" Canvas.Left="371.5" Stroke="FF000000" StrokeThickness="5"
		Canvas.Top="245.723333333333" Width="0" />
		</Panel.Children>


Listing 2: XAML behind Figure 5

		<Panel.Children>
			<MonthCalendar FontStyle="Normal" Height="157" 	Canvas.Left="9.5"
			Name="MonthCalendar1"
			RenderTransform="translate(-136 -78.5) rotate(-10) translate(136 78.5)"
			 Canvas.Top="36.723333333333" Width="272">
				<MonthCalendar.SelectedDates />
			</MonthCalendar>
				<ScrollBar BorderThickness="1,1,1,1" Height="146" Canvas.Left="314.5"
				Name="ScrollBar1"
				Canvas.Top="32.723333333333" Width="21" />
				<Expander Height="23" Canvas.Left="148.5" Name="Expander1"
				Canvas.Top="178.723333333333" Width="118">
						<ContentControl.Content>
Expander1 </ContentControl.Content>
		</Expander>
			<CheckBox Background="#FFFF9859" Height="15" Canvas.Left="22.5"
			Name="CheckBox1"
			Canvas.Top="21.723333333333" Width="82">
				<ContentControl.Content>
CheckBox1 </ContentControl.Content>
			</CheckBox>
		</Panel.Children>
	</Canvas>


Listing 3:

public class DependencyObject
     {

        public static DependencyProperty dependencyProperty1 =
		DependencyProperty.Register("Property1", typeof(Int), typeof(Button);

        public static DependencyProperty dependencyProperty2 =
		DependencyProperty.Register("Property2", typeof(String), typeof(Button);

        System.Collections.Hashtable hashTable = new
		System.Collections.Hashtable();

        public object GetValue(DependencyProperty dp)
        {


Listing 4: XAML behind 2D animation

</Panel.Children>
	<FrameworkElement.Resources>
		<ResourceDirectory xmlns:x=http://schemas.microsoft.com/winfx/xaml/2005>
				<Storyboard x:Key="Storyboard_0" Duration="00:00:30">
					<TimellineGroup.Children>
					 <DoubleAnimation Duration="00:00:30.4090000" From="72.5"
					  Storyboard.TargetProperty=" (Canvas.Left) " To="128.5">
					<Timeline.Name>
					 <?Mapping XmlNamespace="mscorlib_System_1ns"
					 ClrNamespace="System" Assembly="mscorlib" ?>
						<mscorlib_System_1:String xmlns:mscorlib_
						System_1="mscorlib_System_1ns">
						Timeline_0  	</mscorllib_System_1:String>
					</Timeline.Name>
					 <Storyboard.TargetName>
					  <?Mapping XmlNamespace="mscorlib_System_2ns"
					  ClrNamespace="System" Assembly="mscorlib" ?>
						 <mscorlib_System_2:String xmlns:mscorlib_
						 System_2="mscorlib_System_2ns">
						 Ellipsel  	</mscorllib_System_2:String>
					</Storyboard.TargetName>
				</DoubleAnimation>
					<DoubleAnimation Duration="00:00:03.4090000" From="104.723333333333"
					Storyboard.TargetProperty=" (Canvas.Top) " To="184.723333333333">
					<Timeline.Name>
					 <?Mapping XmlNamespace="mscorlib_System_3ns"
					 ClrNamespace="System" Assembly="mscorlib" ?>
					   <mscorlib_System_3:String xmlns:mscorlib_
					   System_3="mscorlib_System_3ns">
					   Timeline_1  	</ mscorllib_System_3:String>
						</Timeline.Name>
						 <Storyboard.TargetName>
						  <?Mapping XmlNamespace="mscorlib_System_
						   4ns" ClrNamespace="System" Assembly="mscorlib" ?>
					         <mscorlib_System_4:String xmlns:mscor-
							 lib_System_4="mscorlib_System_4ns">
							 Ellipsel  	</ mscorllib_System_4:String>
						  </Storyboard.TargetName>
						 </DoubleAnimation>
						  <DoubleAnimation BeginTime="00:00:03.40900
						  00" Duration="00:00:02.0450000" From="128.5"
						  Storyboard.TargetProperty=" (Canvas.Left) " To="150.5">
        					<Timeline.Name>
						<?Mapping XmlNamespace="mscorlib_System_5ns"
						ClrNamespace="System" Assembly="mscorlib" ?>
						  <mscorlib_System_5:String xmlns:mscorlib_
						  System_5="mscorlib_System_5ns">
						  Timeline 2  	</ mscorllib_System_5:String>