Browse Source

changed hardcoded class name to typeof().FullName

flabbet 4 years ago
parent
commit
579cbc7a46
1 changed files with 2 additions and 2 deletions
  1. 2 2
      PixiEditor/Views/UserControls/Layers/LayerGroupControl.xaml.cs

+ 2 - 2
PixiEditor/Views/UserControls/Layers/LayerGroupControl.xaml.cs

@@ -22,8 +22,8 @@ namespace PixiEditor.Views.UserControls.Layers
             set { SetValue(GroupGuidProperty, value); }
         }
 
-        public const string LayerGroupControlDataName = "PixiEditor.Views.UserControls.Layers.LayerGroupControl";
-        public const string LayerContainerDataName = "PixiEditor.Views.UserControls.Layers.LayerStructureItemContainer";
+        public static string LayerGroupControlDataName = typeof(LayerGroupControl).FullName;
+        public static string LayerContainerDataName = typeof(LayerStructureItemContainer).FullName;
 
         public static readonly DependencyProperty GroupGuidProperty =
             DependencyProperty.Register("GroupGuid", typeof(Guid), typeof(LayerGroupControl), new PropertyMetadata(Guid.NewGuid()));