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