1 Replies - 4253 Views - Last Post: 28 December 2011 - 12:37 PM

#1 runewake2  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 60
  • Joined: 23-February 08

Disabling Text Box Highlighting upon Selection

Posted 28 December 2011 - 12:58 AM

I have created a transparent Textbox where all but the textbox text itself is transparent. However, when I click it to type something, the box turns white (the same color as my font). This makes reading what you type immpossible and looks bad, how do I disable this?

More Info:
My Text Box was created in Expression Blend and all brushes have been removed (not made transparent) except for the Foreground brush which effects the text color.
Is This A Good Question/Topic? 0
  • +

Replies To: Disabling Text Box Highlighting upon Selection

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: Disabling Text Box Highlighting upon Selection

Posted 28 December 2011 - 12:37 PM

If it's a custom control that inherits from a TextBox, then check the Visual States. There is probably a "Focused" state that sets the background of a TextBox to white. You would want to either delete this state, or change it to another color.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1