diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-08 17:59:31 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-08 17:59:31 +0200 |
| commit | aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87 (patch) | |
| tree | ac65520ce09b073a5adf3fe01a81634e9381e7af /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs | |
| parent | b76a8d009b807ddbbb21386ad362deb786c506f4 (diff) | |
| download | Tango-aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87.tar.gz Tango-aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87.zip | |
Started working on power module...
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs index e166fef04..f175b11d8 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs @@ -24,6 +24,11 @@ namespace Tango.PPC.Common public String HomeViewName { get; set; } /// <summary> + /// Gets or sets a value indicating whether to dock this module menu item to the bottom.. + /// </summary> + public bool DockToBottom { get; set; } + + /// <summary> /// Initializes a new instance of the <see cref="PPCModuleAttribute"/> class. /// </summary> /// <param name="index">The module index.</param> @@ -41,5 +46,16 @@ namespace Tango.PPC.Common { HomeViewName = homeViewName; } + + /// <summary> + /// Initializes a new instance of the <see cref="PPCModuleAttribute"/> class. + /// </summary> + /// <param name="index">The module index.</param> + /// <param name="homeViewName">Name of the home view.</param> + public PPCModuleAttribute(int index, String homeViewName, bool dockToBottom) : this(index, homeViewName) + { + HomeViewName = homeViewName; + DockToBottom = dockToBottom; + } } } |
