protected override void Init(string regionName, out IPanelWrapper <Panel> target) { Grid control = new Grid(); UIRegion.SetRegion(control, regionName); target = new PanelWrapper() { Target = control }; }
protected override void Init(out IViewInjectionService service, out IPanelWrapper <Panel> target) { Grid control = new Grid(); var s = new ViewInjectionService(); Interaction.GetBehaviors(control).Add(s); target = new PanelWrapper() { Target = control }; service = s; }