Example #1
0
 public override bool SupportsToolboxSection(ToolboxSection section)
 {
     if (!base.SupportsToolboxSection(section))
     {
         return (section.GetType() == typeof(CodeWizardToolboxSection));
     }
     return true;
 }
Example #2
0
 public override bool SupportsToolboxSection(ToolboxSection section)
 {
     if (!base.SupportsToolboxSection(section))
     {
         return (section.GetType() == typeof(HtmlElementToolboxSection));
     }
     return true;
 }
Example #3
0
 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;
 }
Example #5
0
 public virtual bool SupportsToolboxSection(ToolboxSection section)
 {
     Type type = section.GetType();
     if (type != typeof(HtmlElementToolboxSection))
     {
         return (type == typeof(SnippetToolboxSection));
     }
     return true;
 }
Example #6
0
 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;
 }
Example #8
0
 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;
 }