diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-11 18:42:25 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-11 18:42:25 +0300 |
| commit | 79097a5b33fbe082bd7680fd4ed5a44f99224820 (patch) | |
| tree | 900936d23a4559e2a7e68efa5b3cca2b14c41b49 /Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs | |
| parent | c4e821defadd93453b59200ea18784ea9d5dd630 (diff) | |
| download | Tango-79097a5b33fbe082bd7680fd4ed5a44f99224820.tar.gz Tango-79097a5b33fbe082bd7680fd4ed5a44f99224820.zip | |
Working on PPC LightTouchGrid !!
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchContentControl.cs | 22 |
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))); + } +} |
