HtmlDesignerAttribute.DialogFeatures Property

Gets or sets the shape, size, or other features of the custom properties builder dialog box.

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

Syntax

'Declaration
Public Property DialogFeatures As String
    Get
    Set
'Usage
Dim instance As HtmlDesignerAttribute
Dim value As String

value = instance.DialogFeatures

instance.DialogFeatures = value
public string DialogFeatures { get; set; }

Property Value

Type: System.String
String Specifies the properties for the custom properties builder dialog box.
The following list details the allowable values for the DialogFeatures property:

Option

Values

Description

dialogHeight

sHeight

Sets the height of the dialog box.

dialogLeft

sXPos

Sets the left position of the dialog box relative to the upper-left corner of the desktop.

dialogTop

sYPos

Sets the top position of the dialog box relative to the upper-left corner of the desktop.

dialogWidth

sWidth

Sets the width of the dialog box.

center

yes, no, 1, 0, on, off

Specifies whether to center the dialog box within the desktop. The default is Yes.

dialogHide

yes, no, 1, 0, on, off

Specifies whether the dialog box is hidden when printing or using print preview. This feature is only available when a dialog box is opened from a trusted application. The default is No.

edge

sunken, raised

Specifies the edge style of the dialog box. The default is Raised.

help

yes, no, 1, 0, on, off

Specifies whether the dialog box displays the context-sensitive Help icon. The default is Yes.

resizable

yes, no, 1, 0, on, off

Specifies whether the dialog box has fixed dimensions. The default is No.

scroll

yes, no, 1, 0, on, off

Specifies whether the dialog box displays scrollbars. The default is Yes.

status

yes, no, 1, 0, on, off

Specifies whether the dialog box displays a status bar. The default is Yes for untrusted dialog boxes and No for trusted dialog boxes.

unadorned

yes, no, 1, 0, on, off

Specifies whether the dialog box displays the window border. This feature is only available when a dialog box is opened from a trusted application. The default is No.

See Also

Reference

HtmlDesignerAttribute Class

HtmlDesignerAttribute Members

Microsoft.SharePoint.WebPartPages Namespace