Compartilhar via


DesignerBuilderType Class

The DesignerBuilderType class contains references to builders for a design application such as Microsoft Office FrontPage.

System.Object

   Microsoft.SharePoint.WebPartPages.DesignerBuilderType

Public Constructors

The following table shows the constructors of the DesignerBuilderType class and a brief description of each.

Name Description
DesignerBuilderType Initializes a new instance of the DesignerBuilderType class.

Public Fields

The following table shows the fields of the DesignerBuilderType class and a brief description of each.

Name Description
Color Constant used to refer to the designer color builder.
Date Constant used to refer to the designer date builder.
File Constant used to refer to the designer file builder.
Font Constant used to refer to the designer font builder.
Picture Constant used to refer to the designer picture builder.
String Constant used to refer to the designer string builder.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

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

Visit HtmlDesignerAttribute.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;}
        }

Requirements

Namespace: Microsoft.SharePoint.WebPartPages

Platforms: Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security