See Also

HtmlBox Class  | HtmlBox Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

HtmlBox Constructor()

Dart.PowerWEB.TextBox Namespace > HtmlBox Class > HtmlBox Constructor : HtmlBox Constructor()

Initializes a new instance of the HtmlBox control.

[Visual Basic]
Public Function New()
[C#]
public HtmlBox();
[C++]
public: HtmlBox();
[C++/CLI]
public: HtmlBox();

Remarks

The default constuctor creates and initializes the HtmlBox with default settings. These settings are as follows:

Element Default Value
HtmlBox.Toolbar Layout The default toolbar layout includes the following toolbar items:
  • Double separator graphic
  • Bold button
  • Italic button
  • Underline button
  • Separator graphic
  • Cut button
  • Copy button
  • Paste button
  • Separator graphic
  • Undo
  • Redo
  • Separator graphic
  • Left justify button
  • Center justify button
  • Right justify button
  • Separator graphic
  • Unordered list button
  • Ordered list button
  • Separator graphic
  • Font color button
  • Font highlight button
  • Insert special character button
  • Row separator graphic
  • Font name drop down box
  • Font size drop down box
  • Font formatting drop down box
HtmlBox.ControlStyle The default HtmlBox style is as follows:
  • ForeColor = "#000000"
  • BackColor = "#ECE9D8"
  • BorderColor = "#909090"
  • Width = 600
  • Height = 300
  • BorderWidth = 1
  • BorderStyle = Solid
  • Font.Name = "sans-serif"
  • Font.Size = "9pt"
HtmlBox.ButtonStyle The default HtmlBox button styles are as follows:
  • BorderColor = "#ECE9D8"
  • BorderWidth = 1
  • BorderStyle = Solid
  • MouseDownBackColor = "#98B5E2"
  • MouseDownBorderColor = "#316AC5"
  • MouseDownBorderStyle = Solid
  • MouseOverBackColor = "#C1D2EE"
  • MouseOverBorderColor = "#316AC5"
  • MouseOverBorderStyle = Solid
  • MouseUpBackColor = "#C1D2EE"
  • MouseUpBorderColor = "#316AC5"
  • MouseUpBorderStyle = Solid
HtmlBox.DialogStyle The default HtmlBox dialog styles are as follows:
  • BackColor = "#ECE9D8"
  • BorderColor = "#000000"
  • BorderWidth = 1
  • BorderStyle = Solid
  • Font.Name = "sans-serif"
  • Font.Size = "8pt"
  • ForeColor = "#000000"
  • TitlebarBackColor = "#0055E5"
  • TitlebarForeColor = "#FFFFFF"
  • TitlebarFontSize = "8pt"
HtmlBox.DropDownStyle The default HtmlBox dropdown styles are as follows:
  • BackColor = "#FFFFFF"
  • BorderColor = "#7F9DB9"
  • BorderWidth = 1
  • BorderStyle = Solid
  • Font.Names = "arial", "verdana", "helvetica", "sans-serif"
  • Font.Size = "11pt"
HtmlBox.MenuStyle The default HtmlBox menu styles are as follows:
  • BackColor = "#FFFFFF"
  • BorderColor = "#8E8E8E"
  • BorderWidth = 1
  • BorderStyle = Solid
  • Font.Name = "sans-serif"
  • Font.Size = "8pt"
  • Height = Unit.Empty
  • ImageColumnColor = "#EFEDDE"
  • MouseOverColor = "#C1d2EE"
HtmlBox.SpecialCharacterList "©","®","™","—","…","&#209","á","¥","€","£","“","”","•","¶","é","ú"
HtmlBox.FontNameList "Arial", "Verdana", "Tahoma", "Courier New", "Georgia"
HtmlBox.FontSizeList "1","2","3","4","5","6","7"
HtmlBox.FontFormattingList
  • "Heading 1", "<h1>"
  • "Heading 2", "<h2>"
  • "Heading 3", "<h3>"
  • "Heading 4", "<h4>"
  • "Heading 5", "<h5>"
  • "Pre", "<pre>"
  • "Code", "<code>"

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

HtmlBox Class  | HtmlBox Members  | Overload List


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.