Browse Source

Changed parameter name

Kenric Nugteren 4 months ago
parent
commit
d80bf6c3be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      inabox.wpf/DynamicGrid/Controls/DynamicContentDialog.xaml.cs

+ 2 - 2
inabox.wpf/DynamicGrid/Controls/DynamicContentDialog.xaml.cs

@@ -19,10 +19,10 @@ public partial class DynamicContentDialog : Window
         set => SetValue(CanSaveProperty, value);
     }
 
-    public DynamicContentDialog(FrameworkElement element, bool buttonsvisible = true)
+    public DynamicContentDialog(FrameworkElement element, bool buttonsVisible = true)
     {
         InitializeComponent();
-        ButtonsVisible = buttonsvisible;
+        ButtonsVisible = buttonsVisible;
         Presenter.Content = element;
     }