public ViewHierarchicalDataTemplate()
 {
     VisualTree = new CustomFrameworkElementFactory(this);
     VisualTree.InternalMethodCall("Seal", this);
     ViewFactory = type => Activator.CreateInstance(ViewType) as FrameworkElement;
 }
Exemple #2
0
 public PrismDataTemplate()
 {
     VisualTree = new CustomFrameworkElementFactory(this);
     VisualTree.InternalMethodCall("Seal", this);
 }
Exemple #3
0
 public ViewHierarchicalDataTemplate()
 {
     VisualTree = new CustomFrameworkElementFactory(this);
     VisualTree.InternalMethodCall("Seal", this);
 }