(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Search

Go
 
Want better search results?  See our search tips!

Learn


  • 0 comments  /  posted by  Martin Mihaylov  on  Sep 05, 2008 (more than a year ago)
    Tags:   line , martin-mihaylov
    You can draw a line decleratively in the Xaml or dynamically in the codebehind. Here it is how it's done in the both ways: Xaml <Line x:Name="MyLine" X1="0" Y1="0" X2="100" Y2="100" Stroke="Yellow" StrokeThickness="2" /> C# Line myLine = new Line(); myLine.X1 = 0; myLine.Y1 = 0; myLine.X2 = 100; myLine.Y2 = 100; myLine.Stroke = new SolidColorBrush( Colors.Yellow ); myLine.StrokeThickness = 2; X1 a ...
  • 0 comments  /  posted by  Martin Mihaylov  on  Jun 09, 2008 (more than a year ago)
    This article is compatible with the latest version of Silverlight. Introduction In this article we are going to focus on the shape controls in Silverlight. These controls are very simple but they provide almost unlimited style possibilities, so make your imagination work and use them in a very creative and interactive way in every Silverlight application. There are six shape controls – the ellipse ...
See all 2 results


News

No items found

Books

No items found

Showcase

No items found


  • All
  • Learn
  • News
  • Forums
  • Books
  • Showcase