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
 
 
Combining Shapes with GeometryGroup
Author : Visual Essentials   Version : Silverlight 2
 
 

The simplest way to combine geometries is to use the GeometryGroup and
nest the other Geometry-derived objects inside. Here’s an example that
places an ellipse next to a square.

 

The effect of this markup is the same as if you supplied two Path elements,
one with the RectangleGeometry and one with the EllipseGeometry (and
that’s the same as if you used a Rectangle and Ellipse shape instead).
However, there’s one advantage to this approach. You’ve replaced two
elements with one, which means you’ve reduced the overhead of your user
interface. In general, a page that uses a smaller number of elements with
more complex geometries will perform faster than a page that has a large
number of elements with simpler geometries. This effect won’t be apparent
in a page that has just a few dozen shapes, but it may become significant in
one that requires hundreds or thousands.

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