I need a WPF text box that displays the phone number as "(555) 555-5555" but has the value "5555555555".
All the examples that I see have the ability to mask a control in the user interface, but this affects the bound property of my view model, so the value of the property has extraneous characters ().
What about IValueConverter ?
I think you will probably have to quit your own. It should not be too complicated, subclassed and redefined to get the results you are looking for.
Source: https://habr.com/ru/post/1788900/More articles:Down Hierarchy with Non-Polymorphic Types - cHow to disable Content-Length response header using Apache? - phpRuby: 1.8.7: How to find indexes in an array where elements are not zero? - ruby ββ| fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1788898/wpf-usercontrol-with-many-controls-how-to-create-dependency-property-that-maps-to-many-controls&usg=ALkJrhhit8y4aHjURqPA1w4ReaYLd8jX8AHow do you use the Facebook API in the Google Chrome extension? - jsonTinyMCE: List All Content in a Bulleted List? - javascriptComputes values ββfrom parameterized strings in javascript - javascriptjquery scrolltop and scrollleft work fine, but on iphone do they all scroll another bar to its home position? - javascriptProblems with iPad / jQuery.animate (scroll) - jqueryIs there a library in objective-c or c that will do OCR? - objective-cAll Articles