Murali R

Murali R

  • NA
  • 41
  • 7.5k

PasswordBox transparent to background at runtime

Sep 28 2015 7:38 AM

hi

Does anybody know how to create a PasswordBox that should be transparent to background at runtime.I created a password box,

XAML

<PasswordBox x:Name="PassWord" BorderThickness="0,0,0,1" Margin="81,289,7.333,0" Background="Transparent" Height="39" Foreground="#FFF5F0F0" />.

This looks like transparent at design time.But at runtime while placing cursor inside the passwordbox,a white background of passwordbox pops up.

How to discard white background of passwordbox while placing cursor inside it.


Answers (1)