From 0bd3760bec105a00efa0fe624da2eb82d85d06c9 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 14 Jan 2018 16:16:08 +0200 Subject: Added code comments for: MachineStudio.DB --- .../Tango.MachineStudio.DB/Controls/DbTableView.xaml.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Controls') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Controls/DbTableView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Controls/DbTableView.xaml.cs index 9ae14952b..8d2a44213 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Controls/DbTableView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Controls/DbTableView.xaml.cs @@ -17,11 +17,16 @@ using System.Windows.Shapes; namespace Tango.MachineStudio.DB.Controls { /// - /// Interaction logic for DbTableView.xaml + /// Represents a database table view wrapper. /// + /// + /// [ContentProperty(nameof(MainContent))] public partial class DbTableView : UserControl { + /// + /// Gets or sets the data table view. + /// public FrameworkElement MainContent { get { return (FrameworkElement)GetValue(MainContentProperty); } @@ -30,6 +35,9 @@ namespace Tango.MachineStudio.DB.Controls public static readonly DependencyProperty MainContentProperty = DependencyProperty.Register("MainContent", typeof(FrameworkElement), typeof(DbTableView), new PropertyMetadata(null)); + /// + /// Initializes a new instance of the class. + /// public DbTableView() { InitializeComponent(); -- cgit v1.3.1