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
 
 
Rectangle and Ellipse.
Author : Visual Essentials   Version : Silverlight 2
 
 

Rectangle and Ellipse

The Rectangle and Ellipse are the two simplest shapes. To create either
one, set the familiar Height and Width properties (inherited from
FrameworkElement) to define the size of your shape, and then set the Fill or
Stroke property (or both) to make the shape visible. You’re also free to use
properties such as MinHeight, MinWidth, HorizontalAlignment,
VerticalAlignment, and Margin.

Here’s a simple example that stacks an ellipse on a rectangle  using a StackPanel:

 
   
 
When We Run The Application. ทดสอบการทำงานของ VB29TestPage.html  
 
  IE TOP  
 
 
  IE BOT  
     >>> ดาวน์โหลด VB29.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