This project has moved. For the latest updates, please go here.

maskedtextbox border

May 13, 2011 at 6:12 PM

Hi.

I am having a little problem with this control. setting it like this:

        <extToolkit:MaskedTextBox Height="25"
                                  HorizontalAlignment="Left"
                                  Margin="93,75,0,0"
                                  Name="txbnbDoc"
                                  VerticalAlignment="Top"
                                  Width="108"
                                  BorderBrush="Black"
                                  BorderThickness="1,1,2,2"
                                  Mask="000.000.000/0000-00"
                                  IncludeLiterals="False"
                                  TabIndex="0"
                                  Text="___.___.___/____-__" />

these borders are not setted. There is some fix for this?

thx in advance.

May 13, 2011 at 6:15 PM

Currently, I have not done much with the styling of controls.  So for now you have a couple of options. One, download the source and add the bindings to the MaskedTextBox template.  You can create a style that targets the WatermarkTextBox. Or you can retemplate the control.

May 13, 2011 at 6:18 PM

Actually, I just bound the properties myself, so just download the latest source and you should be good.

May 13, 2011 at 9:51 PM

Wow. Thx man. that's great!