silverlight ASP.NET ปฐมวัย silverlight ASP.NET
silverlight ASP.NET
 
silverlight application asp.net code  XNA Game    
silverlight ASP.NET
thaisilverlight
Silverlight Controls
Border
Button
Calendar
Canvas
CheckBox
ComboBox
ContentControl
DataGrid
Ellipse
Grid
GridSplitter
Image
ListBox
MediaElement
MultiScaleImage
PasswordBox
ProgressBar
RadioButton
Rectangle
ScrollBar
ScrollViewer
Slider
StackPanel
TabControl
TextBlock
TextBox
eXTReMe Tracker
 
 
Size a Rectangle and an Ellipse.
Author : Visual Essentials   Version : Silverlight 2
 
 

With a Canvas, the order of your tags is important. In the previous example,
the rectangle is superimposed on the ellipse because the ellipse appears
first in the list, and so is drawn first. If this isn’t what you
want, you can rearrange the markup or use the Canvas.ZIndex attached
property to move an element to a specific layer.


Remember, a Canvas doesn’t need to occupy an entire page. For example,
there’s no reason that you can’t create a Grid that uses a Canvas in one of its
cells. This gives you the perfect way to lock down fixed bits of drawing
logic in a dynamic, free-flowing user interface.

 
   
 
When We Run The Application. ทดสอบการทำงานของ (VC30TestPage.html)  
 
  IE TOP  
 
 
  IE BOT  
    >>> ดาวน์โหลด VC30.xap          
     
 
Source Code for Page.xaml (initial UI control) ซอร์สโค้ด ของ Page.xaml (initial UI control)
 
  XAML  
 
 
  XAML  
     
     
 
Source Code for Page.xaml.cs (code-behind class) ซอร์สโค้ด ของ Page.xaml.cs (code-behind class)
 
  XAML  
   
     
  ภาษา VB >>>       
 
 
    © 2009 Silverlight Examples Asp.net All Rights Reserved.  
   This Website Develop With Visual Studio 2010 / ASP.NET 3.5 & Microsoft SQL Server 2005 Database.  
  You may contact for thaisilverlight.aspxcode.net on improvement of our website in terms of accuracy and completeness at Email: aspxcodes@gmail.com  
  Valid XHTML 1.0 Transitional