Author Topic: Silverlight TextBox - Hiding the blinking caret - CaretBrush="Transparent"  (Read 1097 times)


  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
You can set the  hide the caret on the text box in silverlight by simply setting the property CaretBrush="Transparent"

Code: (xml)
//Source Code Listing

<TextBox Name="mytextbox"  Grid.Row="1" Width="660"
   Height="370"  VerticalAlignment="Top" 
  IsEnabled="True" CaretBrush="Transparent" >

// xaml code ends


Disclaimer: This web site is for educational and informational purposes only. Click here to read the Disclaimer.
Content copyright 2010-2014. Kathiresan. All rights reserved.
This page is using SMF version 2.0.1