aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-06-18 16:09:12 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-06-18 16:09:12 +0300
commit830212435a1e9825d10b601cfb780e94d66bf0c1 (patch)
tree9d614e924b9db0bc2e7743ddc5004a1482f5b04a /Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs
parente155089c0bd92a4be38e286bd08bb28b4e88284f (diff)
downloadTango-830212435a1e9825d10b601cfb780e94d66bf0c1.tar.gz
Tango-830212435a1e9825d10b601cfb780e94d66bf0c1.zip
TouchTextBox Password mode.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs
index c2f404d2d..c69fd17ed 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.cs
@@ -33,7 +33,13 @@ namespace Tango.Touch.Controls
public static readonly DependencyProperty WatermarkProperty =
DependencyProperty.Register("Watermark", typeof(String), typeof(TouchTextBox), new PropertyMetadata(null));
-
+ public bool IsPassword
+ {
+ get { return (bool)GetValue(IsPasswordProperty); }
+ set { SetValue(IsPasswordProperty, value); }
+ }
+ public static readonly DependencyProperty IsPasswordProperty =
+ DependencyProperty.Register("IsPassword", typeof(bool), typeof(TouchTextBox), new PropertyMetadata(false));
static TouchTextBox()
{