Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Line « Windows Presentation Foundation « C# / C Sharp
C# / C Sharp
Windows Presentation Foundation
Line
1.
Create a line with point value
2.
Set Top and left dimension based on its container
3.
Origin in center. Y increases going down
4.
Draws a line from (10,10) to (50,50)
5.
Draws a diagonal line from (10,10) to (50,50) and moves it 100 pixels to the right
6.
Draw a Grid
7.
Creating Lines