From aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 8 Jan 2019 17:59:31 +0200 Subject: Started working on power module... --- .../PPC/Tango.PPC.Common/PPCModuleAttribute.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleAttribute.cs') 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 @@ -23,6 +23,11 @@ namespace Tango.PPC.Common /// public String HomeViewName { get; set; } + /// + /// Gets or sets a value indicating whether to dock this module menu item to the bottom.. + /// + public bool DockToBottom { get; set; } + /// /// Initializes a new instance of the class. /// @@ -41,5 +46,16 @@ namespace Tango.PPC.Common { HomeViewName = homeViewName; } + + /// + /// Initializes a new instance of the class. + /// + /// The module index. + /// Name of the home view. + public PPCModuleAttribute(int index, String homeViewName, bool dockToBottom) : this(index, homeViewName) + { + HomeViewName = homeViewName; + DockToBottom = dockToBottom; + } } } -- cgit v1.3.1