diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-29 18:45:10 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-29 18:45:10 +0200 |
| commit | 5cda8b0a3ab579dd6f33b1cb19a1d295dc661d28 (patch) | |
| tree | ef9408ca50840d407f3c62bbcd19147739fde145 /Software/Visual_Studio/Tango.Core/ExtendedObject.cs | |
| parent | 7e8ff4c3ca798d426eb6f381c5312a747f1bb800 (diff) | |
| download | Tango-5cda8b0a3ab579dd6f33b1cb19a1d295dc661d28.tar.gz Tango-5cda8b0a3ab579dd6f33b1cb19a1d295dc661d28.zip | |
Added gradient display of color Brush Stops.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/ExtendedObject.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Core/ExtendedObject.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs index 8ac80034d..79707f369 100644 --- a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs +++ b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs @@ -61,6 +61,14 @@ namespace Tango.Core } /// <summary> + /// Gets a value indicating whether we are currently in VS design mode. + /// </summary> + public bool DesignMode + { + get { return (DesignerProperties.GetIsInDesignMode(new DependencyObject())); } + } + + /// <summary> /// Invokes the specified action on the UI Thread. /// </summary> /// <param name="action">The action.</param> |
