diff options
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; + } } } |
