diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-10 11:38:50 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-10 11:38:50 +0300 |
| commit | afd359b383a09f720d512dbf1f3bb6707dc4b83e (patch) | |
| tree | 950435d3dd35a268f44576330a2c9b0996ae97c2 /Software/Visual_Studio/Tango.Core/CustomAttributes | |
| parent | 17edf0cd108fb4a27dade328eaa294d352909b8f (diff) | |
| download | Tango-afd359b383a09f720d512dbf1f3bb6707dc4b83e.tar.gz Tango-afd359b383a09f720d512dbf1f3bb6707dc4b83e.zip | |
Implemented job type picker dialog.
Implemented "native" touch listbox.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/CustomAttributes')
| -rw-r--r-- | Software/Visual_Studio/Tango.Core/CustomAttributes/XamlVectorAttribute.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Core/CustomAttributes/XamlVectorAttribute.cs b/Software/Visual_Studio/Tango.Core/CustomAttributes/XamlVectorAttribute.cs new file mode 100644 index 000000000..fc92eb07c --- /dev/null +++ b/Software/Visual_Studio/Tango.Core/CustomAttributes/XamlVectorAttribute.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Core.CustomAttributes +{ + /// <summary> + /// Represents an association of a xaml markup vector to with an enum field. + /// </summary> + /// <seealso cref="System.Attribute" /> + [AttributeUsage(AttributeTargets.Field)] + public class XamlVectorAttribute : Attribute + { + /// <summary> + /// Gets or sets the xaml vector. + /// </summary> + public String XamlVector { get; set; } + + /// <summary> + /// Initializes a new instance of the <see cref="XamlVectorAttribute"/> class. + /// </summary> + /// <param name="xamlVector">The xaml vector.</param> + public XamlVectorAttribute(String xamlVector) + { + XamlVector = xamlVector; + } + } +} |
