|
@@ -22,9 +22,6 @@ namespace PixiEditor.Views.UserControls.Layers
|
|
set { SetValue(GroupGuidProperty, value); }
|
|
set { SetValue(GroupGuidProperty, value); }
|
|
}
|
|
}
|
|
|
|
|
|
- public static string LayerGroupControlDataName = typeof(LayerGroupControl).FullName;
|
|
|
|
- public static string LayerContainerDataName = typeof(LayerStructureItemContainer).FullName;
|
|
|
|
-
|
|
|
|
public static readonly DependencyProperty GroupGuidProperty =
|
|
public static readonly DependencyProperty GroupGuidProperty =
|
|
DependencyProperty.Register("GroupGuid", typeof(Guid), typeof(LayerGroupControl), new PropertyMetadata(Guid.NewGuid()));
|
|
DependencyProperty.Register("GroupGuid", typeof(Guid), typeof(LayerGroupControl), new PropertyMetadata(Guid.NewGuid()));
|
|
|
|
|
|
@@ -56,6 +53,9 @@ namespace PixiEditor.Views.UserControls.Layers
|
|
DependencyProperty.Register("GroupOpacity", typeof(float), typeof(LayerGroupControl), new PropertyMetadata(1f));
|
|
DependencyProperty.Register("GroupOpacity", typeof(float), typeof(LayerGroupControl), new PropertyMetadata(1f));
|
|
|
|
|
|
|
|
|
|
|
|
+ public static string LayerGroupControlDataName = typeof(LayerGroupControl).FullName;
|
|
|
|
+ public static string LayerContainerDataName = typeof(LayerStructureItemContainer).FullName;
|
|
|
|
+
|
|
private static void LayersViewModelCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
|
private static void LayersViewModelCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
|
{
|
|
{
|
|
LayerGroupControl control = (LayerGroupControl)d;
|
|
LayerGroupControl control = (LayerGroupControl)d;
|