TwitterLinkedInBlog

Thursday, November 12, 2009

Silverlight 3 - Basic Linear Gradient Fill

<grid>

  <grid.background>

    <lineargradientbrush endpoint="0.5,1" startpoint="0.5,0">

      <gradientstop color="#B5B0AC" offset="0">

      <gradientstop color="White" offset="0.5">

      <gradientstop color="#B5B0AC" offset="1">

    </lineargradientbrush>

  </grid.background>

</grid>

No comments: