Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 615

Comment by Sinatr on WPF TextBlock for Phone Number

$
0
0
A more reusable approach would be to make a custom TextBox with Mask and some more properties (e.g. AllowInsert, AllowSpacesInBetween, etc.). Or attached behavior to enable certain rules dynamically (the cool thing would be to architecture rules interactions, so it can be easily extended further by just implementing a new rule without need to rewrite existing rules).

Viewing all articles
Browse latest Browse all 615

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>