diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-24 12:52:35 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-24 12:52:35 +0300 |
| commit | 5fd370643691a312e1266f138982d784f0f9ebb1 (patch) | |
| tree | 246ea94d92d2ecdff57c1f1d118643257c234275 /Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs | |
| parent | 8115b816af006a8f263ac4b9b7b11e9913cb2eb7 (diff) | |
| download | Tango-5fd370643691a312e1266f138982d784f0f9ebb1.tar.gz Tango-5fd370643691a312e1266f138982d784f0f9ebb1.zip | |
Working on Panel PC app.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs index 530deb841..f1009d579 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchButton.cs @@ -45,6 +45,14 @@ namespace Tango.Touch.Controls public static readonly DependencyProperty ShadowDepthProperty = DependencyProperty.Register("ShadowDepth", typeof(double), typeof(TouchButton), new PropertyMetadata(1.0)); + public Color ShadowColor + { + get { return (Color)GetValue(ShadowColorProperty); } + set { SetValue(ShadowColorProperty, value); } + } + public static readonly DependencyProperty ShadowColorProperty = + DependencyProperty.Register("ShadowColor", typeof(Color), typeof(TouchButton), new PropertyMetadata(Colors.Gray)); + #endregion static TouchButton() |
