Condividi tramite


DesignerBuilderType Class

Contains references to builders for a design application compatible with Microsoft Windows SharePoint Services, such as Microsoft Office SharePoint Designer 2007.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.DesignerBuilderType

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DesignerBuilderType

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

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 HtmlEditorBuilderType property.

Examples

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;}
        }

Thread Safety

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

See Also

Reference

DesignerBuilderType Members

Microsoft.SharePoint.WebPartPages Namespace