Version

HtmlBoxDialog Class

Represents a dialog.
Syntax
'Declaration
 
Public Class HtmlBoxDialog 
   Inherits BaseChildControl
public class HtmlBoxDialog : BaseChildControl 
Remarks

A single instance of HtmlBoxDialog object is tied to each instance of ToolbarDialogButton on the toolbar. When a button of this type is clicked, the dialog represented by the HtmlBoxDialog objectis displayed.

There are two scenarios for creating/using dialogs:

  • Predefined dialogs: These types of dialogs are tied to predefined toolbar buttons. For example, if you add a ToolbarDialogButton with a ToolbarDialogButton.Type == ToolbarDialogButtonType.FindReplace, a predefined find/replace HtmlBoxDialog will be tied to the ToolbarDialogButton (and exposed as the ToolbarDialogButton.Dialog property). Typically, you won't want want to modify the actual content of the dialog, but instead would modify the look and feel of the dialog using properties such as BackColor or TitlebarBackColor.
  • Custom dialogs: These types of dialogs are tied to custom toolbar buttons. For example, if you add a ToolbarDialogButton with a ToolbarDialogButton.Type == ToolbarDialogButtonType.Custom, an WebHtmlEditor dialog would be tied to the ToolbarDialogButton (and exposed as the ToolbarDialogButton.Dialog property). However, this dialog would be empty until some content was supplied for the dialog. This is done by using the HtmlBoxDialog.Text property.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also