I want to fill the remaining portion of the texbox with hatch patterns (diagonal line) using XAML for silverlight. I know the Silverlight is out of date and not in support. But i have a code which i need to fix. I am not sure how to implement the hatch patterns without VisualBrush as we do for WPF.
I tried with Linearbrush, but unable to implement it
<LinearGradientBrush x:Key="DiagonalLine" EndPoint="0,0" StartPoint="8,8"
MappingMode="Absolute" SpreadMethod="Repeat">
<GradientStop Color="Black" Offset="0" />
<GradientStop Color="Black" Offset="0.1" />
<GradientStop Color="White" Offset="0.1" />
<GradientStop Color="White" Offset="1" />
</LinearGradientBrush>