1 interface inheriting from IDesignerHost
System (1)
compmod\system\componentmodel\design\serialization\IDesignerLoaderHost.cs (1)
21public interface IDesignerLoaderHost : IDesignerHost {
471 references to IDesignerHost
System (38)
compmod\system\componentmodel\design\ActiveDocumentEvent.cs (6)
27private readonly IDesignerHost oldDesigner; 32private readonly IDesignerHost newDesigner; 38public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner) { 49public IDesignerHost OldDesigner { 61public IDesignerHost NewDesigner {
compmod\system\componentmodel\design\DocumentCollection.cs (5)
31/// that stores an array with a pointer to each <see cref='System.ComponentModel.Design.IDesignerHost'/> 35public DesignerCollection(IDesignerHost[] designers) { 47/// that stores an array with a pointer to each <see cref='System.ComponentModel.Design.IDesignerHost'/> 70public virtual IDesignerHost this[int index] { 72return (IDesignerHost)designers[index];
compmod\system\componentmodel\design\DocumentEventArgs.cs (3)
24private readonly IDesignerHost host; 32public DesignerEventArgs(IDesignerHost host) { 42public IDesignerHost Designer {
compmod\system\componentmodel\design\IComponentDiscoveryService.cs (1)
23ICollection GetComponentTypes(IDesignerHost designerHost, Type baseType);
compmod\system\componentmodel\design\IDesignerEventService.cs (1)
24IDesignerHost ActiveDesigner { get; }
compmod\system\componentmodel\design\IDesignerHost.cs (7)
68/// Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.Activated'/> event. 75/// Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.Deactivated'/> event. 82/// Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.LoadComplete'/> event. 89/// Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.TransactionClosed'/> event. 95/// <para>Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.TransactionClosing'/> event.</para> 100/// <para>Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.TransactionOpened'/> event.</para> 106/// Adds an event handler for the <see cref='System.ComponentModel.Design.IDesignerHost.TransactionOpening'/> event.
compmod\system\componentmodel\TypeDescriptor.cs (3)
1340IDesignerHost host = site.GetService(typeof(IDesignerHost)) as IDesignerHost;
services\io\system\io\FileSystemWatcher.cs (3)
355IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost));
services\monitoring\system\diagnosticts\EventLogInternal.cs (3)
513IDesignerHost host = (IDesignerHost) parent.ComponentGetService(typeof(IDesignerHost));
services\monitoring\system\diagnosticts\Process.cs (3)
1021IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost));
services\timers\system\timers\Timer.cs (3)
218IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost));
System.Drawing (19)
commonui\System\Drawing\Design\IToolboxService.cs (10)
48void AddCreator(ToolboxItemCreatorCallback creator, string format, IDesignerHost host); 54void AddLinkedToolboxItem(ToolboxItem toolboxItem, IDesignerHost host); 62void AddLinkedToolboxItem(ToolboxItem toolboxItem, string category, IDesignerHost host); 88ToolboxItem DeserializeToolboxItem(object serializedObject, IDesignerHost host); 100ToolboxItem GetSelectedToolboxItem(IDesignerHost host); 112ToolboxItemCollection GetToolboxItems(IDesignerHost host); 124ToolboxItemCollection GetToolboxItems(String category, IDesignerHost host); 132bool IsSupported(object serializedObject, IDesignerHost host); 152bool IsToolboxItem(object serializedObject, IDesignerHost host); 170void RemoveCreator(string format, IDesignerHost host);
commonui\System\Drawing\Design\ToolboxComponentsCreatingEventArgs.cs (3)
20private readonly IDesignerHost host; 28public ToolboxComponentsCreatingEventArgs(IDesignerHost host) { 39public IDesignerHost DesignerHost {
commonui\System\Drawing\Design\ToolboxItem.cs (6)
338public IComponent[] CreateComponents(IDesignerHost host) { 352public IComponent[] CreateComponents(IDesignerHost host, IDictionary defaultValues) { 366protected virtual IComponent[] CreateComponentsCore(IDesignerHost host) { 389protected virtual IComponent[] CreateComponentsCore(IDesignerHost host, IDictionary defaultValues) { 550public Type GetType(IDesignerHost host) { 564protected virtual Type GetType(IDesignerHost host, AssemblyName assemblyName, string typeName, bool reference) {
System.Messaging (6)
System\Messaging\Design\QueuePathEditor.cs (3)
54IDesignerHost host = (IDesignerHost)provider.GetService(typeof(IDesignerHost));
System\Messaging\MessageQueue.cs (3)
1242IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost));
System.Web (25)
Compilation\ExpressionBuilder.cs (1)
43internal static ExpressionBuilder GetExpressionBuilder(string expressionPrefix, VirtualPath virtualPath, IDesignerHost host) {
UI\BaseTemplateParser.cs (1)
52IDesignerHost host = DesignerHost;
UI\ControlBuilder.cs (3)
318private IDesignerHost DesignerHost { 698IDesignerHost host = DesignerHost; 2880IDesignerHost host = DesignerHost;
UI\ControlIdConverter.cs (4)
34private string[] GetControls(IDesignerHost host, object instance) { 77IDesignerHost host = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\ControlPropertyNameConverter.cs (3)
60IDesignerHost host = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\DesignTimeParseData.cs (4)
18private IDesignerHost _designerHost; 33public DesignTimeParseData(IDesignerHost designerHost, string parseText) : this(designerHost, parseText, String.Empty) { 37public DesignTimeParseData(IDesignerHost designerHost, string parseText, string filter) { 69public IDesignerHost DesignerHost {
UI\DesignTimeTemplateParser.cs (1)
139public static ControlBuilder ParseTheme(IDesignerHost host, string theme, string themePath) {
UI\SkinBuilder.cs (3)
211private IDesignerHost _host; 213public ThemeProvider(IDesignerHost host, string name, string themeDefinition, string[] cssFiles, string themePath) { 252public IDesignerHost DesignerHost {
UI\TargetFrameworkUtil.cs (1)
93internal static IDesignerHost DesignerHost { get; set; }
UI\TemplateBuilder.cs (2)
79private IDesignerHost _designerHost; 130internal void SetDesignerHost(IDesignerHost designerHost) {
UI\TemplateParser.cs (2)
343private IDesignerHost _designerHost; 345internal IDesignerHost DesignerHost {
System.Web.Entity.Design (6)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (3)
89IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost));
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (3)
34IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost));
System.Web.Mobile (66)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (5)
53return ((IDesignerHost) compSite.GetService(typeof(IDesignerHost))).GetDesigner(component); 95IDesignerHost host = (IDesignerHost)compSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (3)
52IDesignerHost designerHost = 53(IDesignerHost) serviceProvider.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\BaseTemplatedMobileComponentEditor.cs (3)
68IDesignerHost designerHost = (IDesignerHost)compSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\CalendarDataBindingHandler.cs (1)
25public override void DataBindControl(IDesignerHost designerHost, Control control)
UI\MobileControls\Design\CommandCollectionEditor.cs (3)
53IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\ChoiceConverter.cs (3)
58IDesignerHost designerHost = (IDesignerHost) componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\DataFieldConverter.cs (3)
154IDesignerHost designerHost = (IDesignerHost)componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\DataMemberConverter.cs (3)
105IDesignerHost designerHost = (IDesignerHost)componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\FormConverter.cs (2)
112Debug.Assert(container is IDesignerHost && 113((IDesignerHost)container).RootComponent is MobileUserControl);
UI\MobileControls\Design\DeviceSpecificDesigner.cs (6)
122IDesignerHost host = (IDesignerHost) newDS.Site.GetService(typeof(IDesignerHost)); 290IDesignerHost host = (IDesignerHost) GetService(typeof(IDesignerHost));
UI\MobileControls\Design\FieldCollectionEditor.cs (3)
53IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\ItemCollectionEditor.cs (3)
52IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileComponentEditorPage.cs (3)
101IDesignerHost designerHost = 102(IDesignerHost)DesignerSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileControlDesigner.cs (4)
35private IDesignerHost _host; 143private IDesignerHost Host 151_host = (IDesignerHost)GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileControlPersister.cs (11)
57private static string GetDeclarativeType(Type type, IDesignerHost host) { 112private static void PersistCollectionProperty(TextWriter sw, object component, PropertyDescriptor propDesc, PersistenceMode persistMode, IDesignerHost host) { 243private static void PersistComplexProperty(TextWriter sw, object component, PropertyDescriptor propDesc, IDesignerHost host) { 337internal static string PersistInnerProperties(object component, IDesignerHost host) { 358internal static void PersistInnerProperties(TextWriter sw, object component, IDesignerHost host) { 790internal static string PersistControl(Control control, IDesignerHost host) { 828IDesignerHost host = null; 830host = (IDesignerHost)site.GetService(typeof(IDesignerHost)); 853internal static void PersistControl(TextWriter sw, Control control, IDesignerHost host) { 956private static void PersistChildControls(TextWriter sw, ControlCollection controls, IDesignerHost host) {
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (4)
49private IDesignerHost _host; 208protected IDesignerHost Host 216_host = (IDesignerHost)GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileUITypeEditor.cs (3)
30IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (3)
52IDesignerHost designerHost = 53(IDesignerHost) serviceProvider.GetService(typeof(IDesignerHost));
System.Windows.Forms (44)
winforms\Managed\System\WinForms\AxHost.cs (6)
2322IDesignerHost host = (IDesignerHost)Site.GetService(typeof(IDesignerHost)); 3369IDesignerHost host = null; 3371host = (IDesignerHost)Site.GetService(typeof(IDesignerHost));
winforms\Managed\System\WinForms\Control.cs (3)
6603IDesignerHost host = site.GetService(typeof(IDesignerHost)) as IDesignerHost;
winforms\Managed\System\WinForms\DataGrid.cs (3)
8967IDesignerHost host = (IDesignerHost)dgrid.Site.GetService(typeof(IDesignerHost));
winforms\Managed\System\WinForms\Design\EventsTab.cs (1)
27private IDesignerHost currentHost;
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
126IDesignerHost host = value.GetService(typeof(IDesignerHost)) as IDesignerHost;
winforms\Managed\System\WinForms\PropertyGrid.cs (14)
81private IDesignerHost designerHost; 293internal IDesignerHost ActiveDesigner { 296designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 1462this.ActiveDesigner = (IDesignerHost)value.GetService(typeof(IDesignerHost)); 1861IDesignerHost host = null; 1863host = (IDesignerHost) ((IComponent) component).Site.GetService(typeof(IDesignerHost)); 2024private PropertyTab CreateTab(Type tabType, IDesignerHost host) { 2033constructor = tabType.GetConstructor(new Type[] {typeof(IDesignerHost)}); 2164IDesignerHost designerHost = (IDesignerHost) site.GetService(typeof(IDesignerHost));
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
371internal virtual IDesignerHost DesignerHost{ 1140internal static IRootGridEntry Create(PropertyGridView view, object[] rgobjs, IServiceProvider baseProvider, IDesignerHost currentHost, PropertyTab tab, PropertySort initialSortType) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
166IDesignerHost host = DesignerHost; 243IDesignerHost host = DesignerHost;
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
30internal MultiSelectRootGridEntry(PropertyGridView view, object obj, IServiceProvider baseProvider, IDesignerHost host, PropertyTab tab, PropertySort sortType)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
646IDesignerHost host = DesignerHost; 917IDesignerHost host = this.DesignerHost;
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (4)
28protected IDesignerHost host; 42internal SingleSelectRootGridEntry(PropertyGridView gridEntryHost, object value, GridEntry parent, IServiceProvider baseProvider, IDesignerHost host, PropertyTab tab, PropertySort sortType) 62internal SingleSelectRootGridEntry(PropertyGridView view, object value, IServiceProvider baseProvider, IDesignerHost host, PropertyTab tab, PropertySort sortType) : this(view, value,null, baseProvider, host, tab, sortType) { 145internal override IDesignerHost DesignerHost {
winforms\Managed\System\WinForms\WebBrowserBase.cs (3)
1210IDesignerHost host = (IDesignerHost)Site.GetService(typeof(IDesignerHost));
System.Workflow.Activities (36)
Common\CompModHelpers.cs (8)
306IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 309SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 355IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 358SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name));
Designers\ConditionalDesigner.cs (1)
31protected override IComponent[] CreateComponentsCore(IDesignerHost designerHost)
Designers\InvokeWebServiceDesigner.cs (4)
41public override IComponent[] CreateComponentsWithUI(IDesignerHost host) 121IDesignerHost host = Activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
Designers\ListenDesigner.cs (1)
31protected override IComponent[] CreateComponentsCore(IDesignerHost designerHost)
Designers\ParallelDesigner.cs (1)
31protected override IComponent[] CreateComponentsCore(IDesignerHost designerHost)
Designers\StateDesigner.cs (18)
1241IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 1787IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 1855IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 1889IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 2144IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 2253IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
InvokeSchedule.cs (3)
132IDesignerHost designerHost = ((IComponent)this).Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
System.Workflow.ComponentModel (225)
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
824IDesignerHost designerHost = manager.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\ActivityDesigner.cs (21)
322IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 637IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 878IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 1119IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 1157IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 1934IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 2384IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (3)
43IDesignerHost host = serializationManager.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\ActivityPreviewDesigner.cs (4)
737IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 739throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\CommandSet.cs (26)
356IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 368designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 393IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 434IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 479IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 557IDesignerHost host = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 639IDesignerHost host = selectedComponent.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 713IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 827IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\CompositeActivityDesigner.cs (28)
393IDesignerHost host = GetService(typeof(IDesignerHost)) as IDesignerHost; 442IDesignerHost designerHost = site.GetService(typeof(IDesignerHost)) as IDesignerHost; 510IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 593IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost)); 595throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 636private static ICollection GetActivitiesFromToolboxItem(IServiceProvider serviceProvider, bool addAssemblyReference, IDesignerHost designerHost, ICollection activities, ToolboxItem toolBoxItem) 659IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost)); 661throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 771IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 903IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 905throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 1530IDesignerHost designerHost = compositeActivity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\CustomActivityDesigner.cs (22)
63IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 86IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 130IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 149private static void EnsureDefaultChildHierarchy(IDesignerHost designerHost) 266IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 268throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 286IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 288throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 376IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 378throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\DesignerHelpers.cs (9)
1256internal static void SerializeDesignerStates(IDesignerHost designerHost, BinaryWriter writer) 1286internal static bool DeserializeDesignerStates(IDesignerHost designerHost, BinaryReader reader) 1579IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 1581throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 1766IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (7)
347IDesignerHost host = this.context.GetService(typeof(IDesignerHost)) as IDesignerHost; 349throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 413IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (12)
934IDesignerHost host = this.surface.GetService(typeof(IDesignerHost)) as IDesignerHost; 957IDesignerHost host = GetService(typeof(IDesignerHost)) as IDesignerHost; 979IDesignerHost host = this.surface.GetService(typeof(IDesignerHost)) as IDesignerHost; 1061IDesignerHost host = this.surface.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
108IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\DocumentOutline.cs (4)
36IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 38throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\FreeFormDesigner.cs (3)
1180IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\IdentifierCreationService.cs (4)
189IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 191throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (12)
492IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 775IDesignerHost host = GetService(typeof(IDesignerHost)) as IDesignerHost; 802IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 818IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost));
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
244IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\MessageFilters\WindowManager.cs (3)
253IDesignerHost designerHost = ((IServiceProvider)this.ParentView).GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\PropertyDescriptors.cs (11)
110IDesignerHost host = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 112throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 423IDesignerHost designerHost = context.GetService(typeof(IDesignerHost)) as IDesignerHost; 646IDesignerHost designerHost = context.GetService(typeof(IDesignerHost)) as IDesignerHost; 650throw new InvalidOperationException(SR.GetString("General_MissingService", typeof(IDesignerHost).FullName));
AuthoringOM\Design\WinOEToolBoxItem.cs (2)
53public virtual IComponent[] CreateComponentsWithUI(IDesignerHost host) 60protected override IComponent[] CreateComponentsCore(IDesignerHost host)
AuthoringOM\Design\WorkflowInlining.cs (12)
160IDesignerHost designerHost = this.containedDesignSurface.GetService(typeof(IDesignerHost)) as IDesignerHost; 162throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 185IDesignerHost designerHost = this.containedDesignSurface.GetService(typeof(IDesignerHost)) as IDesignerHost; 187throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 203return ActivityDesigner.GetSafeRootDesigner(this.containedDesignSurface.GetService(typeof(IDesignerHost)) as IServiceProvider) as IWorkflowRootDesigner; 314IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost));
AuthoringOM\Design\WorkflowView.cs (8)
878IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 880throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 904IDesignerHost designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 906throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\XomlDesignerLoader.cs (17)
167IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 169throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 199IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 201throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 299IDesignerHost designerHost = GetService(typeof(IDesignerHost)) as IDesignerHost; 662if (designerEventService != null && designerEventService.ActiveDesigner == this.serviceProvider.GetService(typeof(IDesignerHost))) 668if (e.NewDesigner == this.serviceProvider.GetService(typeof(IDesignerHost)) && this.typeSystemTypesChanged) 704IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 852if (designerEventService != null && designerEventService.ActiveDesigner == this.serviceProvider.GetService(typeof(IDesignerHost)))
Shared\CompModHelpers.cs (8)
304IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 307SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 353IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 356SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name));
System.WorkflowServices (6)
System\Workflow\ComponentModel\Design\ActivityDesignerHighlighter.cs (3)
59IDesignerHost designerHost = this.GetService(typeof(IDesignerHost)) as IDesignerHost;
System\Workflow\ComponentModel\Design\FindSimilarActivitiesVerb.cs (3)
49IDesignerHost designerHost = this.GetService(typeof(IDesignerHost)) as IDesignerHost;