aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-06-12 22:36:11 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-06-12 22:36:11 +0300
commit88c02032022e0467efe978441e1e87475ef6e38f (patch)
tree141b6faefef50a7110303e5012382ebf2f73a286 /Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
parent1a095a1ca886e2d3979b4835899516017904ea1c (diff)
downloadTango-88c02032022e0467efe978441e1e87475ef6e38f.tar.gz
Tango-88c02032022e0467efe978441e1e87475ef6e38f.zip
Fixed issue with Twine/Coats catalog viewers.
Modified TouchScrollViewer behavior.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
index 6fbce65bf..bf571f36a 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
@@ -21,7 +21,7 @@ namespace Tango.Touch.Controls
{
private TextBox _text_box;
private bool _prevent_text_change;
- private FastTextBlock _text_block;
+ private TextBlock _text_block;
private double _lastValue;
Regex regex_integer = new Regex(@"^-?[0-9]\d*(\d+)?$");
Regex regex_double = new Regex(@"^-?[0-9]\d*(\.\d+)?$");
@@ -114,7 +114,7 @@ namespace Tango.Touch.Controls
base.OnApplyTemplate();
_text_box = GetTemplateChild("PART_TextBox") as TextBox;
- _text_block = GetTemplateChild("PART_TextDisplay") as FastTextBlock;
+ _text_block = GetTemplateChild("PART_TextDisplay") as TextBlock;
_text_box.PreviewTextInput += _text_box_PreviewTextInput;
_text_box.PreviewKeyDown += _text_box_PreviewKeyDown;
_text_box.LostFocus += _text_box_LostFocus;