Author Topic: WPF TextBox - Hiding the blinking caret / cusror  (Read 1957 times)

kathir

  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
WPF TextBox - Hiding the blinking caret / cusror
« on: December 16, 2011, 01:19:52 pm »
You can set the transparent black color to hide the caret on the text box.


Code: (xml)
//Source Code Listing


<TextBox Name="mytexbox"  Grid.Row="1" 
   Width="660" Height="370" VerticalAlignment="Top" 
   Focusable="True" IsEnabled="True" 
   Background="#00000000">
</TextBox>


// xaml code ends
« Last Edit: December 16, 2011, 01:23:45 pm by kathir »

 


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