Welcome to the Xceed Community | Help
Community Search  
More Search Options

How to bind a MaskedTextBox

Sort Posts: Previous Next
  •  04-27-2010, 6:27 PM Post no. 26632

    How to bind a MaskedTextBox

    Hi, I'm trying to bind a MaskedTextBox width a string, but I I do:

            <xceed:MaskedTextBox Value="{Binding Path=Factura, Mode=TwoWay}" ValueDataType="{x:Type s:String}" Mask=">L-0000-00000000" />

    The control do not set the changes in the model.

    And if I do

             <xceed:MaskedTextBox Text="{Binding Path=Factura, Mode=TwoWay}" ValueDataType="{x:Type s:String}" Mask=">L-0000-00000000" />

    The model gets a masked value.

    How must I do it?

     

    Filed under:
  •  04-29-2010, 11:08 AM Post no. 26648 in reply to 26632

    Re: How to bind a MaskedTextBox

    hi Eduardo, 
    can you provide more information on your problem?
    Where are you using the masked textbox, is it inside a cell editor in our grid or outside of it?
    If you wouldn't mind providing us with a sample project that would be more helpful.

    Best regards

    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.