diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs index 5aa003c1e..7053e8356 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs @@ -8,6 +8,7 @@ using System.Windows.Media.Imaging; using Tango.Core; using Tango.BL.Entities; using Tango.BL.Enumerations; +using System.Reflection; namespace Tango.PPC.Common { @@ -28,6 +29,14 @@ namespace Tango.PPC.Common } /// <summary> + /// Gets a value indicating whether to dock this module menu item to the bottom. + /// </summary> + public bool DockToBottom + { + get { return this.GetType().GetCustomAttribute<PPCModuleAttribute>().DockToBottom; } + } + + /// <summary> /// Gets the module name. /// </summary> public abstract string Name { get; } |
