aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs
new file mode 100644
index 000000000..c3086e743
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+
+namespace Tango.Touch.Controls
+{
+ public class TouchContentControl : ContentControl
+ {
+ public CornerRadius CornerRadius
+ {
+ get { return (CornerRadius)GetValue(CornerRadiusProperty); }
+ set { SetValue(CornerRadiusProperty, value); }
+ }
+ public static readonly DependencyProperty CornerRadiusProperty =
+ DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TouchContentControl), new PropertyMetadata(default(CornerRadius)));
+ }
+}