Polygon Stretch= UniformToFill : Polygon « Windows Presentation Foundation « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Design Patterns
8.Development Class
9.Event
10.File Stream
11.Generics
12.GUI Windows Form
13.Language Basics
14.LINQ
15.Network
16.Office
17.Reflection
18.Regular Expressions
19.Security
20.Services Event
21.Thread
22.Web Services
23.Windows
24.Windows Presentation Foundation
25.XML
26.XML LINQ
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Windows Presentation Foundation » PolygonScreenshots 
Polygon Stretch= UniformToFill
Polygon Stretch= UniformToFill
     

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="Microsoft.Samples.Graphics.RectangleExample"
    WindowTitle="Rectangle Example">
  <Canvas>

    <Polygon Height="100" Width="50" Points="0,0 10,10 0,10" Fill="Blue" Stretch="UniformToFill"/>


  </Canvas>
</Page>

   
    
    
    
    
  
Related examples in the same category
1.Polyline by PointsPolyline by Points
2.A Polygon always closes the end pointsA Polygon always closes the end points
3.Specifying points the long way with Polygon.Points tag and PointSpecifying points the long way with Polygon.Points tag and Point
4.Draw figure with "EvenOdd" FillRuleDraw figure with
5.Draw figure with "NonZero" FillRule
6.Draw second figure with "NonZero" FillRuleDraw second figure with
7.Polygon Stretch="UniformPolygon Stretch=
8.Star PolygonStar Polygon
9.Fill Polygon with RadialGradientBrushFill Polygon with RadialGradientBrush
10.Polygon with FillPolygon with Fill
11.Polygon Stroke color and ThicknessPolygon Stroke color and Thickness
12.Polygon Along with CanvasPolygon Along with Canvas
13.Polygon Stretch=FillPolygon Stretch=Fill
14.Polygon Stretch=NonePolygon Stretch=None
15.Star.xamlStar.xaml
16.Difference between EvenOdd FillRule and NonZero FillRule
17.Draws another triangle with a blue interior with PolygonDraws another triangle with a blue interior with Polygon
18.Non-zero fill rule with more complex shape with PolygonNon-zero fill rule with more complex shape with Polygon
19.Polygon Mouse down eventPolygon Mouse down event
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.