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
 
 
Straight Lines
Author : Visual Essentials   Version : Silverlight 2
 
 

It’s easy enough to create simple lines using the LineSegment and
PathGeometry classes. You simply set the StartPoint and add one
LineSegment for each section of the line. The LineSegment.Point property
identifies the end point of each segment.


For example, the following markup begins at (10, 100), draws a straight
line to (100, 100), and then draws a line from that point to (100, 50).
Because the PathFigure.IsClosed property is set to true, a final line segment

 
   
 
When We Run The Application. ทดสอบการทำงานของ VB37TestPage.html  
 
  IE TOP  
 
 
  IE BOT  
     >>> ดาวน์โหลด VB37.xap          
     
 
Source Code for Page.xaml (initial UI control) ซอร์สโค้ด ของ Page.xaml (initial UI control)
 
  XAML  
 
 
  XAML  
     
     
 
ซอร์สโค้ด ของ Page.xaml.vb (code-behind class) ซอร์สโค้ด ของ Page.xaml.vb (code-behind class)
 
  XAML  
   
     
  ภาษา C# >>>          
 
 
    © 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