aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-27 19:10:18 +0200
commit3f22291740c0ac631a655495f6198dbf18be2de2 (patch)
tree3a5106dfc6258b5a30dce8e26f78a65b0b7a87d3 /Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs
parentca29510e1e336c4d68aaa926cfea6eb72ce42779 (diff)
downloadTango-3f22291740c0ac631a655495f6198dbf18be2de2.tar.gz
Tango-3f22291740c0ac631a655495f6198dbf18be2de2.zip
A lot of work !!!
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs
new file mode 100644
index 000000000..f3c554a8c
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Tango.Touch.Controls
+{
+ public class TouchMultiLineTextBox : TextBox
+ {
+ public CornerRadius CornerRadius
+ {
+ get { return (CornerRadius)GetValue(CornerRadiusProperty); }
+ set { SetValue(CornerRadiusProperty, value); }
+ }
+ public static readonly DependencyProperty CornerRadiusProperty =
+ DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TouchMultiLineTextBox), new PropertyMetadata(new CornerRadius(0)));
+
+
+
+ static TouchMultiLineTextBox()
+ {
+ DefaultStyleKeyProperty.OverrideMetadata(typeof(TouchMultiLineTextBox), new FrameworkPropertyMetadata(typeof(TouchMultiLineTextBox)));
+ }
+ }
+}