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