Path instructions in XAML - Silverlight

Explain the Path instructions in XAML

The <Path> instruction of XAML allows to draw and fill a path. Various points in the path represents are represented by the Data attribute. The attribute includes M which means to move to command, moves to a coordinate and C represents the absolute path. The H represents line to command.

The following is the code snippet to draw a path:
<Path Data="M 200,40 C 50,90 200,250 200,75 H 480" Stroke="Black" StrokeThickness="4"/>
Resemblance between CSS and Silverlight
Silverlight content is hosted on the tag. CSS of DIV can be changed as it is for other HTML documents. The changes can be for absolute positioning, z-indexing, top and left properties etc...
What kind of Brush does Silverlight support?
Silverlight brush objects supports for painting with solid colors, linear gradients, radical gradients and images. SolidColorBrush is used to paint a closed object such as rectangle...
Mouse events that Silverlight currently supports
The mouse events that supports silverlight are - LostMouseCapture - occurs when an UI element lost mouse capture...
Post your comment