Browse Source

Whitespace

pull/604/head
jogibear9988 12 years ago
parent
commit
6b2cf8714e
  1. 6
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/Initializers.cs

6
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/Initializers.cs

@ -63,9 +63,9 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions.Initializers
if (textProperty.ValueOnInstance == null || textProperty.ValueOnInstance.ToString() == "") if (textProperty.ValueOnInstance == null || textProperty.ValueOnInstance.ToString() == "")
{ {
textProperty.SetValue(item.ComponentType.Name); textProperty.SetValue(item.ComponentType.Name);
item.Properties[FrameworkElement.WidthProperty].Reset(); item.Properties[FrameworkElement.WidthProperty].Reset();
item.Properties[FrameworkElement.HeightProperty].Reset(); item.Properties[FrameworkElement.HeightProperty].Reset();
} }
DesignItemProperty verticalAlignmentProperty = item.Properties["VerticalAlignment"]; DesignItemProperty verticalAlignmentProperty = item.Properties["VerticalAlignment"];
if (verticalAlignmentProperty.ValueOnInstance == null) if (verticalAlignmentProperty.ValueOnInstance == null)

Loading…
Cancel
Save