Browse Source

The Shape Control's should also be popular...

(As now there is support for some of them (and more to come))
pull/637/head
jkuehner 11 years ago
parent
commit
831ea01e95
  1. 5
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/BasicMetadata.cs

5
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/BasicMetadata.cs

@ -260,6 +260,11 @@ namespace ICSharpCode.WpfDesign.Designer @@ -260,6 +260,11 @@ namespace ICSharpCode.WpfDesign.Designer
Metadata.AddPopularControl(typeof(Viewbox));
Metadata.AddPopularControl(typeof(Viewport3D));
Metadata.AddPopularControl(typeof(WrapPanel));
Metadata.AddPopularControl(typeof(Line));
Metadata.AddPopularControl(typeof(Polyline));
Metadata.AddPopularControl(typeof(Ellipse));
Metadata.AddPopularControl(typeof(Rectangle));
Metadata.AddPopularControl(typeof(Path));
//Basic Metadata Size of double.NaN, means no Size should be set.
Metadata.AddDefaultSize(typeof(TextBlock), new Size(double.NaN, double.NaN));

Loading…
Cancel
Save