Export (0) Print
Expand All

DesignerBuilderType Class

Contains references to builders for a design application compatible with Microsoft SharePoint Foundation, such as SharePoint Designer.

System.Object
  Microsoft.SharePoint.WebPartPages.DesignerBuilderType

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class DesignerBuilderType

When a Web Part is hosted in a design application that supports Web Part builders and a builder is selected on the Property sheet, the window.external.InvokeBuilder method will call the design application and pass the BuilderType, BuilderArguments, and the ElementID information.

The fields of the DesignerBuilderType class are passed to the HtmlEditorBuilderType property.

The following example shows how to pass the File field to a property file.

[DefaultValue(""),HtmlDesigner(BrowserBuilderType.NoBuilder, 
    HtmlEditorBuilderType=DesignerBuilderType.File)]
        public string file
        {
            get{return _file;}
            set{_file=value;}
        }

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft