Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / C#

An Introduction to the Silverlight samples in the All-In-One Framework

Rate me:
Please Sign up or sign in to vote.
5.00/5 (26 votes)
12 Dec 2009Ms-PL5 min read 55.4K   2.2K   56  
This article introduces several Silverlight samples in the All-In-One Framework.
'****************************** Module Header ******************************\
' Module Name:  Page.cs
' Project:      CSSL3DeepZoomProject
' Copyright (c) Microsoft Corporation.
' 
' This class wraps the data downloaded from Metadata.xml.
' 
' This source is subject to the Microsoft Public License.
' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
' All other rights reserved.
' 
' History:
' * 9/4/2009 17:12 Yilun Luo Created
'***************************************************************************/

Public Class ImageMetadata
	' Properties
	Public Property FileName() As String
		Get
			Return Me.FileNamek__BackingField
		End Get
		Set(ByVal value As String)
			Me.FileNamek__BackingField = value
		End Set
	End Property

	Public Property Height() As Double
		Get
			Return Me.Heightk__BackingField
		End Get
		Set(ByVal value As Double)
			Me.Heightk__BackingField = value
		End Set
	End Property

	Public Property Tag() As String
		Get
			Return Me.Tagk__BackingField
		End Get
		Set(ByVal value As String)
			Me.Tagk__BackingField = value
		End Set
	End Property

	Public Property Width() As Double
		Get
			Return Me.Widthk__BackingField
		End Get
		Set(ByVal value As Double)
			Me.Widthk__BackingField = value
		End Set
	End Property

	Public Property X() As Double
		Get
			Return Me.Xk__BackingField
		End Get
		Set(ByVal value As Double)
			Me.Xk__BackingField = value
		End Set
	End Property

	Public Property Y() As Double
		Get
			Return Me.Yk__BackingField
		End Get
		Set(ByVal value As Double)
			Me.Yk__BackingField = value
		End Set
	End Property

	Public Property ZOrder() As Integer
		Get
			Return Me.ZOrderk__BackingField
		End Get
		Set(ByVal value As Integer)
			Me.ZOrderk__BackingField = value
		End Set
	End Property


	' Fields
	Private FileNamek__BackingField As String
	Private Heightk__BackingField As Double
	Private Tagk__BackingField As String
	Private Widthk__BackingField As Double
	Private Xk__BackingField As Double
	Private Yk__BackingField As Double
	Private ZOrderk__BackingField As Integer
End Class



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
China China
Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.
http://cfx.codeplex.com/

Comments and Discussions