DialogFeatures Property

The DialogFeatures property of the HtmlDesignerAttribute class gets or sets the shape, size, or other features of the custom properties builder dialog box.

Property Value

String Specifies the properties for the custom properties builder dialog box.


The following list details the allowable values for the DialogFeatures property:

OptionValuesDescription
dialogHeightsHeightSets the height of the dialog box.
dialogLeftsXPosSets the left position of the dialog box relative to the upper-left corner of the desktop.
dialogTopsYPosSets the top position of the dialog box relative to the upper-left corner of the desktop.
dialogWidthsWidthSets the width of the dialog box.
centeryes, no, 1, 0, on, offSpecifies whether to center the dialog box within the desktop. The default is Yes.
dialogHideyes, no, 1, 0, on, offSpecifies 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.
edgesunken, raisedSpecifies the edge style of the dialog box. The default is Raised.
helpyes, no, 1, 0, on, offSpecifies whether the dialog box displays the context-sensitive Help icon. The default is Yes.
resizableyes, no, 1, 0, on, offSpecifies whether the dialog box has fixed dimensions. The default is No.
scrollyes, no, 1, 0, on, offSpecifies whether the dialog box displays scrollbars. The default is Yes.
statusyes, no, 1, 0, on, offSpecifies whether the dialog box displays a status bar. The default is Yes for untrusted dialog boxes and No for trusted dialog boxes.
unadornedyes, no, 1, 0, on, offSpecifies 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.

Requirements

Platforms: Windows Server 2003

Security: Code Access Security

Page view tracker