public override bool SupportsToolboxSection(ToolboxSection section) { if (!base.SupportsToolboxSection(section)) { return (section.GetType() == typeof(CodeWizardToolboxSection)); } return true; }
public override bool SupportsToolboxSection(ToolboxSection section) { if (!base.SupportsToolboxSection(section)) { return (section.GetType() == typeof(HtmlElementToolboxSection)); } return true; }
public override bool SupportsToolboxSection(ToolboxSection section) { Type type = section.GetType(); if (!base.SupportsToolboxSection(section) && (type != typeof(WebFormsToolboxSection))) { return (type == typeof(CustomControlsToolboxSection)); } return true; }
public override bool SupportsToolboxSection(ToolboxSection section) { Type type = section.GetType(); if ((type != typeof(MobileWebFormsToolboxSection)) && (type != typeof(SnippetToolboxSection))) { return (type == typeof(CustomControlsToolboxSection)); } return true; }
public virtual bool SupportsToolboxSection(ToolboxSection section) { Type type = section.GetType(); if (type != typeof(HtmlElementToolboxSection)) { return (type == typeof(SnippetToolboxSection)); } return true; }
public virtual bool SupportsToolboxSection(ToolboxSection section) { return (section.GetType() == typeof(SnippetToolboxSection)); }
public override bool SupportsToolboxSection(ToolboxSection section) { if (base.InTemplateMode) { if (!base.SupportsToolboxSection(section)) { return (section is MobileWebFormsToolboxSection); } return true; } Type type = section.GetType(); if ((type != typeof(MobileWebFormsToolboxSection)) && (type != typeof(SnippetToolboxSection))) { return (type == typeof(CustomControlsToolboxSection)); } return true; }
public override bool SupportsToolboxSection(ToolboxSection section) { if (this.InTemplateMode) { return ((IToolboxClient) this._templateEditingDialog.DesignView).SupportsToolboxSection(section); } if (!base.SupportsToolboxSection(section) && (section.GetType() != typeof(WebFormsToolboxSection))) { return (section.GetType() == typeof(CustomControlsToolboxSection)); } return true; }