Polyline with Stroke color and Stroke thickness : Polyline « Shapes « Silverlight






Polyline with Stroke color and Stroke thickness

Polyline with Stroke color and Stroke thickness
   

<UserControl x:Class='SilverlightApplication3.MainPage'
    xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' 
    xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'
    xmlns:d='http://schemas.microsoft.com/expression/blend/2008' 
    xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' 
    mc:Ignorable='d' 
    d:DesignWidth='640' 
    d:DesignHeight='480'>
  <Canvas Background="White">
    <Polyline Stroke="Blue" StrokeThickness="5" 
        Points="10,150 30,140 50,160 70,13 90,170 110,120 130,180 15,110 170,190 190,10 210,240" >
    </Polyline>
  </Canvas>
</UserControl>

   
    
    
  








Related examples in the same category

1.Rotate polylineRotate polyline
2.Translate transform polylineTranslate transform polyline
3.Polyline by PointsPolyline by Points
4.Rotates the Polyline 45 degrees about the point (25,50)Rotates the Polyline 45 degrees about the point (25,50)
5.Rotates the Polyline 45 degrees about the point (0,0)Rotates the Polyline 45 degrees about the point (0,0)
6.Rotates the Polyline 45 degrees about its centerRotates the Polyline 45 degrees about its center
7.Rotates the Polyline 45 degrees about the relative origin (0.25,0.25).Rotates the Polyline 45 degrees about the relative origin (0.25,0.25).
8.Ployline types do not require connecting endsPloyline types do not require connecting ends
9.Polyline and Polyline.PointsPolyline and Polyline.Points
10.PolyLine Segment DemoPolyLine Segment Demo
11.XAML Button with Polyline and TextBlockXAML Button with Polyline and TextBlock
12.Polyline stroke color in RGBPolyline stroke color in RGB
13.Set StrokeDashArray, StrokeDashCap for PolylineSet StrokeDashArray, StrokeDashCap for Polyline
14.Bevel StrokeLineJoin PolylineBevel StrokeLineJoin Polyline
15.StrokeStartLineCap for PolylineStrokeStartLineCap for Polyline
16.Polyline corner is cut off (beveled) because the miter limit is set to 1Polyline corner is cut off (beveled) because the miter limit is set to 1
17.Create a simple polyline, a closed polyline. And a Sine curve in code.Create a simple polyline, a closed polyline. And a Sine curve in code.
18.Populate the PointsCollection of the PolyLinePopulate the PointsCollection of the PolyLine
19.A PolylineA Polyline