C1.Win.C1Editor.4 Specifies the types of content to which the inline style will be applied. Style is applied only to characters in the range. Style is applied only to whole paragraphs containing the text range. Style is applied only to tables containing the range. Style is applied only to lists containing the range. Style is applied to any kind of content. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. Represents the C1Editor control. The control has a property. It is possible to assign an existing document to this property and it will be displayed in the control. The control and the document are bound. If the document is edited within the control, the underlying XmlDocument changes to match the edited document. If the XmlDocument changes (in code), then the changes appear in the editor. This sample shows how to load an XHTML string into the editor and append a stylesheet using functions of XmlDocument. c1Editor1.LoadXml(xhtml); XmlElement style = c1Editor1.Document.CreateElement("style"); style.InnerXml = "strong {text-decoration:underline}"; foreach (XmlNode node in c1Editor1.Document.DocumentElement) { if (node.Name == "head") { node.AppendChild(style); break; } } Initializes a new instance of the class. Loads a design CSS from a given file. The base URL is inferred from the file location. The file from which the design CSS is loaded. Loads a design CSS from a given stream. The stream from which the design CSS is loaded. Base URL is not specified because this method only handles a simple, self-contained CSS. The stream must be encoded in UTF-8. string value = "p {color:red;}"; Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(value)); LoadDesignCSS(stream); Loads the preview CSS from a given file. Base URL is inferred from the file location. The file from which the preview CSS is loaded. Loads the preview CSS from a given stream. The base URL is not given; it assumes a simple, self-contained CSS. It also assumes the stream is encoded in UTF8. The stream from which the design CSS is loaded. string value = "p {color:red;}"; Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(value)); LoadDesignCSS(stream); Loads the document from an XML string. XML string to load. Path to resolve pictures, video, links, and other resources. True, if XML successfully loaded; otherwise, False. Loads the document from the specified stream in XML format. The containing the XML document to load. Path to resolve pictures, video, links, and so on. True, if XML successfully loaded; otherwise, False. Loads the document from the specified file in XML format. The name of the file containing the document to load. True, if the file is successfully loaded; otherwise, False. Loads the document from the specified stream in RTF format. The containing the RTF document to load. Path to resolve pictures, video, links, and so on. True, if XML successfully loaded; otherwise, False. Loads the document from the specified file in RTF format. The name of the file containing the document to load. True, if the file is successfully loaded; otherwise, False. Saves the document to the specified file in XML format. The name of the file where you want to save the document. True, if the file is successfully saved; otherwise, False. Saves the document to the specified stream in XML format. The stream to which you want to save. True, if the document is successfully saved; otherwise, False. Returns the XML content of the document as a string. XML content of the document as a string Saves the document to the specified file in RTF format. The name of the file where you want to save the document. True, if the file is successfully saved; otherwise, False. Saves the document to the specified stream in RTF format. The stream to which you want to save. True, if the document is successfully saved; otherwise, False. Validates document in source mode and shows validation errors if found. True if document was validated without errors; otherwise, False. Fixes the document in source mode, corrects errors, makes it valid XHTML. Begins a transaction. Title of the started transaction. If the is changed without using transactions, each time any of the NodeInserted, NodeRemoved and NodeChanged events of the XmlDocument occurs, the control performs synchronization between XML and MSHTML. Calling tells the control it must not synchronized any changes made in XmlDocument until is called. The and the methods of the automatically start a transaction, if it has not been started yet. Commits the started transaction. If the is changed without using transactions, each time any of the NodeInserted, NodeRemoved and NodeChanged events of the XmlDocument occurs, the control performs synchronization between XML and MSHTML. Calling tells the control it must not synchronized any changes made in XmlDocument until is called. The and the methods of the automatically start a transaction, if it has not been started yet. Rolls back the transaction. If the is changed without using transactions, each time any of the NodeInserted, NodeRemoved and NodeChanged events of the XmlDocument occurs, the control performs synchronization between XML and MSHTML. Calling tells the control it must not synchronized any changes made in XmlDocument until is called. The and the methods of the automatically start a transaction, if it has not been started yet. Sets input focus to the control. True if the input focus request was successful; otherwise, false. Scrolls current document selection into view. Returns a Boolean value indicating whether or not the specified dialog can be shown. The dialog type. A Boolean value indicating whether or not the specified dialog can be shown. This example shows how to add an "Add Image" button to the form. private void Form1_Load(object sender, EventArgs e) { _btnAddImage = new Button(); _btnAddImage.Text = "Add Image"; _btnAddImage.Click += AddPictureDialog; this.Controls.Add(_btnAddImage); _btnAddImage.Location = new Point(10, 10); c1Editor1.DocumentChanged += UpdateUI; c1Editor1.SelectionChanged += UpdateUI; c1Editor1.ModeChanged += UpdateUI; } private void AddPictureDialog(object sender, EventArgs e) { c1Editor1.ShowDialog(DialogType.Image); } private void UpdateUI(object sender, EventArgs e) { _btnAddImage.Enabled = c1Editor1.CanShowDialog(DialogType.Image); } Shows the specified dialog box. The type of dialog box to show. This example shows how to add an "Add Image" button to the form. private void Form1_Load(object sender, EventArgs e) { _btnAddImage = new Button(); _btnAddImage.Text = "Add Image"; _btnAddImage.Click += AddPictureDialog; this.Controls.Add(_btnAddImage); _btnAddImage.Location = new Point(10, 10); c1Editor1.DocumentChanged += UpdateUI; c1Editor1.SelectionChanged += UpdateUI; c1Editor1.ModeChanged += UpdateUI; } private void AddPictureDialog(object sender, EventArgs e) { c1Editor1.ShowDialog(DialogType.Image); } private void UpdateUI(object sender, EventArgs e) { _btnAddImage.Enabled = c1Editor1.CanShowDialog(DialogType.Image); } Selects the entire contents of the editor. Creates a range that begins with the specified starting character and continues through the specified length of characters, and moves selection to the range. The start position. The length of the range. Creates a text range. A new text range. Creates a range that begins with the specified starting character and continues through the specified length of characters. The start position The length of the range The text range. This code demonstrates the method. Document

123456

", new Uri("c:\\")); C1TextRange r = c1Editor1.CreateRange(1, 3); Console.WriteLine(r.Text); // Output: 234 } ]]>
Creates a range on the specified . The target node. The text range. Creates a range between the specified start and end . The start pointer. The end pointer. The text range. This code demonstrates the method. Document

123456

", new Uri("c:\\")); C1TextRange r = c1Editor1.CreateRange(1, 3); Console.WriteLine(r.Text); // Output: 234 } ]]>
Gets the underlying ActiveX WebBrowser control. Reference to the ActiveX WebBrowser object. Use this method to get a reference to the IWebBrowser2 interface. For example, C1SpellChecker uses the IWebBrowser2 interface to support spelling in the C1Editor. Code below shows how to activate spell checking using C1SpellChecker and the GetActiveXInstance method. spellChecker.SetActiveSpellChecking(editor, editor.GetActiveXInstance(), true); Prints the current document. Prints the current document. Determines whether a printer selection dialog box is displayed. If is True, the Print dialog box opens before printing, so the user can select a printer and change settings. If is False, then the current page is printed. Prints the current document. Determines whether a printer selection dialog box is displayed. File name of a print template. If is True, the Print dialog box opens before printing, so the user can select a printer and change settings. If is False, then the current page is printed. The specified print template is used. For details about print templates see http://msdn.microsoft.com/en-us/library/aa753279(VS.85).aspx Shows a print preview dialog. Shows a print preview dialog. Uses the specified print template. See more details about print templates at http://msdn.microsoft.com/en-us/library/aa753279(VS.85).aspx Moves the current selection to the Clipboard. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Copies the current selection to the Clipboard. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Replaces the current selection in the editor with the contents of the Clipboard. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Pastes the contents of the Clipboard into the editor using text format. Performs Undo action in the current editor mode (design or source). This example shows how to create a custom context menu that can be linked to a C1Editor control and has Undo and Redo buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnUndo, _btnRedo; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnUndo = (ToolStripMenuItem)Items.Add("Undo"); _btnUndo.ShortcutKeys = Keys.Control | Keys.Z; _btnRedo = (ToolStripMenuItem)Items.Add("Redo"); _btnRedo.ShortcutKeys = Keys.Control | Keys.Y; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnUndo) _owner.Undo(); else if (e.ClickedItem == _btnRedo) _owner.Redo(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnUndo.Enabled = _owner.CanUndo; _btnRedo.Enabled = _owner.CanCut; base.OnOpening(e); } Performs Redo action in the current editor mode (design or source). This example shows how to create a custom context menu that can be linked to a C1Editor control and has Undo and Redo buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnUndo, _btnRedo; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnUndo = (ToolStripMenuItem)Items.Add("Undo"); _btnUndo.ShortcutKeys = Keys.Control | Keys.Z; _btnRedo = (ToolStripMenuItem)Items.Add("Redo"); _btnRedo.ShortcutKeys = Keys.Control | Keys.Y; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnUndo) _owner.Undo(); else if (e.ClickedItem == _btnRedo) _owner.Redo(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnUndo.Enabled = _owner.CanUndo; _btnRedo.Enabled = _owner.CanCut; base.OnOpening(e); } Returns a value that indicates whether the most recent action can be undone. True if the most recent action can be undone; otherwise, False. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Undo and Redo buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnUndo, _btnRedo; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnUndo = (ToolStripMenuItem)Items.Add("Undo"); _btnUndo.ShortcutKeys = Keys.Control | Keys.Z; _btnRedo = (ToolStripMenuItem)Items.Add("Redo"); _btnRedo.ShortcutKeys = Keys.Control | Keys.Y; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnUndo) _owner.Undo(); else if (e.ClickedItem == _btnRedo) _owner.Redo(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnUndo.Enabled = _owner.CanUndo; _btnRedo.Enabled = _owner.CanCut; base.OnOpening(e); } Returns a value that indicates whether the most recent undo action can be redone. True if the most recent undo action can be redone; otherwise, False. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Undo and Redo buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnUndo, _btnRedo; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnUndo = (ToolStripMenuItem)Items.Add("Undo"); _btnUndo.ShortcutKeys = Keys.Control | Keys.Z; _btnRedo = (ToolStripMenuItem)Items.Add("Redo"); _btnRedo.ShortcutKeys = Keys.Control | Keys.Y; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnUndo) _owner.Undo(); else if (e.ClickedItem == _btnRedo) _owner.Redo(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnUndo.Enabled = _owner.CanUndo; _btnRedo.Enabled = _owner.CanCut; base.OnOpening(e); } Begins the initialization of a control that is used on a form or used by another component. The initialization occurs at run time. The Visual Studio .NET design environment uses this method to start the initialization of a component that is used on a form or used by another component. The EndInit method ends the initialization. Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized. Ends the initialization of a that is used on a form or used by another component. The initialization occurs at run time. The Visual Studio .NET design environment uses this method to end the initialization of a component that is used on a form or used by another component. The BeginInit method starts the initialization. Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized. Overrides . Message. Sends focus to active browser when entering the editor. Releases all the resources that the editor owns. true to release both managed and unmanaged resources; false to release only unmanaged resources. Raises event. A that contains event data. Raises event. An that contains event data. Raises event. A that contains event data. Raises event. An that contains event data. Raises event. An that contains event data. Raises event. An that contains event data. Occurs when any change has happened in the document. Handle this event to provide the processing that your application requires when changes occur in the edited document. This example shows how to add an "Add Image" button to the form. private void Form1_Load(object sender, EventArgs e) { _btnAddImage = new Button(); _btnAddImage.Text = "Add Image"; _btnAddImage.Click += AddPictureDialog; this.Controls.Add(_btnAddImage); _btnAddImage.Location = new Point(10, 10); c1Editor1.DocumentChanged += UpdateUI; c1Editor1.SelectionChanged += UpdateUI; c1Editor1.ModeChanged += UpdateUI; } private void AddPictureDialog(object sender, EventArgs e) { c1Editor1.ShowDialog(DialogType.Image); } private void UpdateUI(object sender, EventArgs e) { _btnAddImage.Enabled = c1Editor1.CanShowDialog(DialogType.Image); } Occurs when the current selection is changed. This example shows how to add an "Add Image" button to the form. private void Form1_Load(object sender, EventArgs e) { _btnAddImage = new Button(); _btnAddImage.Text = "Add Image"; _btnAddImage.Click += AddPictureDialog; this.Controls.Add(_btnAddImage); _btnAddImage.Location = new Point(10, 10); c1Editor1.DocumentChanged += UpdateUI; c1Editor1.SelectionChanged += UpdateUI; c1Editor1.ModeChanged += UpdateUI; } private void AddPictureDialog(object sender, EventArgs e) { c1Editor1.ShowDialog(DialogType.Image); } private void UpdateUI(object sender, EventArgs e) { _btnAddImage.Enabled = c1Editor1.CanShowDialog(DialogType.Image); } Occurs when the of the Editor is changed. This example shows how to add an "Add Image" button to the form. private void Form1_Load(object sender, EventArgs e) { _btnAddImage = new Button(); _btnAddImage.Text = "Add Image"; _btnAddImage.Click += AddPictureDialog; this.Controls.Add(_btnAddImage); _btnAddImage.Location = new Point(10, 10); c1Editor1.DocumentChanged += UpdateUI; c1Editor1.SelectionChanged += UpdateUI; c1Editor1.ModeChanged += UpdateUI; } private void AddPictureDialog(object sender, EventArgs e) { c1Editor1.ShowDialog(DialogType.Image); } private void UpdateUI(object sender, EventArgs e) { _btnAddImage.Enabled = c1Editor1.CanShowDialog(DialogType.Image); } Occurs when the of the Editor is about to change. Occurs before the document is saved. Occurs after the document is saved. Occurs when an HTML event occurs in the browser. Indicates whether the editor should have a border. Defines current editor view and behavior. There are 3 modes: Design, Preview, Source. Indicates whether the editor automatically wraps words to the beginning of the next line when necessary in the Source mode. Gets a Boolean value indicating whether the control has input focus. True if the document has focus; otherwise, False. Gets or sets a value indicating whether pressing the TAB key in a control types a TAB character in the editor instead of moving the focus to the next control in the tab order. Gets or sets a value indicating whether the editor can accept data that the user drags onto it. Overrides the property. Gets or sets a string (followed by a number) used for the 'title' attribute of the loaded document if that attribute is not specified. Gets or sets a value indicating whether content in the editor is read-only. Gets or sets the XML document bound to the . The control and the document are bound. If the document is edited within the control, then the underlying XmlDocument changes to match it. If the XmlDocument changes (in code), then the changes appear in the editor. Gets the base Uri of the current document. Gets or sets the current XML content of the editor. Gets or sets the current text in the editor. Gets a Boolean value that indicates whether the document has been modified since it was last saved. If the IsDirty property is True, data in the XML document has been changed since it was last saved. If False, no changes have occurred. Gets or sets the maximum number of characters the user can type or paste into the editor control. Returns the ActiveX WebBrowser object for current . This property returns a reference to the IWebBrowser2 interface. C1Editor uses Microsoft WebBrowser ActiveX control internally. In some advanced cases programmers may need to access that control directly to perform tasks that aren't otherwise available from C1Editor public interface. Such direct access to the underlying WebBrowser should be used only if there is no other way, and the programmer using it is responsible for not interfering with intenal invisible markup and attributes (such as ids, etc) used in the underlying HTML by C1Editor. remarks> Indicates whether the editor turns Comments feature on or off. Indicates whether the editor turns validation on or off. Contains information about custom elements and attributes that extend the standard XHTML DTD. Allows user-defined dialog boxes such as Find/Replace, Format, Insert table, and others to be used. The contains several dialogs used to perform actions such as search/replace, inserting images, tables, and so on. To replace one or more of the built-in dialogs with your own custom ones, follow these steps: 1. Implement the custom dialog making sure it supports the appropriate interface (for example ). 2. Assign an instance of the custom dialog to the appropriate member of the property. The code below replaces the built-in bookmark and find/replace dialogs with customized versions of the dialogs. private void InitCustomDialogs() { _editor.CustomDialogs.BookmarkDialog = new BookmarkEditorForm(); _editor.CustomDialogs.FindReplaceDialog = new FindReplaceForm(); } Gets or sets a value indicating whether the editor processes shortcuts for basic editing operations Gets or sets the index of the first selected character in the . Gets or sets the number of selected characters in the . Gets the text currently selected in the . Gets the current selection in the . Gets a value indicating whether the cut command is supported on the current selection. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Gets a value indicating whether the copy command is supported on the current selection. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Gets a value indicating whether the paste command is supported on the current selection. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; base.OnOpening(e); } Determines whether you can paste information from the Clipboard in text format. This example shows how to create a custom context menu that can be linked to a C1Editor control and has Cut, Copy and Paste buttons. class MyContextMenuStrip : ContextMenuStrip { private C1Editor _owner; private ToolStripMenuItem _btnCut, _btnCopy, _btnPaste; public MyContextMenuStrip(C1Editor editor) { // save reference to parent control _owner = editor; // create menu items _btnCut = (ToolStripMenuItem)Items.Add("Cut"); _btnCut.ShortcutKeys = Keys.Control | Keys.X; _btnCopy = (ToolStripMenuItem)Items.Add("Copy"); _btnCopy.ShortcutKeys = Keys.Control | Keys.C; _btnPaste = (ToolStripMenuItem)Items.Add("Paste"); _btnPaste.ShortcutKeys = Keys.Control | Keys.V; } protected override void OnItemClicked(ToolStripItemClickedEventArgs e) { // close menu (not automatic) Close(); if (e.ClickedItem == _btnCopy) _owner.Copy(); else if (e.ClickedItem == _btnCut) _owner.Cut(); else if (e.ClickedItem == _btnPaste) _owner.Paste(); // on to base class base.OnItemClicked(e); } protected override void OnOpening(System.ComponentModel.CancelEventArgs e) { if (_owner.Mode == EditorMode.Preview) { e.Cancel = true; } else if (_owner.Mode == EditorMode.Source) { _btnCopy.Enabled = _owner.CanCopy; _btnCut.Enabled = _owner.CanCut; _btnPaste.Enabled = _owner.CanPaste || _owner.CanPasteAsText; // on to base class base.OnOpening(e); } } Overrides . Returns XML document for editing This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. Represents the method that will handle the event of the editor. The source of the event. A that contains the event data. Represents the method that will handle the event of the editor. The source of the event. A that contains the event data. Provides data for the event. This type is used in the event. Initializes a new instance of the class. Gets or sets a new editing mode. Gets or sets the HTML source for the document being edited. Gets or sets a new editing mode. Choose from Design, Source, or Preview modes. Gets or sets the HTML source for the document being edited. Provides data for the event. This type is used in the event. Initializes a new instance of the class. Gets information about an HTML event. Gets the type of HTML event. Gets information about an HTML event. Gets the type of HTML event. Contains available appearance modes for D2HWebBrowser. This type is for internal use. Default browser mode. Download only. Show all media. Show images only. Don't show other embed objects. This class makes next things over standard .NET WebBrowser: 1.Performs initialization with navigating to "about:blank" 2.Controls content loading and appearance 3.Allows to load HTML from string with optional path 4.Can set edit mode to MSHTML document It must me COM-visible to catch DISPID_AMBIENT_DLCONTROL This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. Loads browser content from string HTML to outputPath to resolve pictures, video, links e t.c. Loads document from URL Sets input focus to the control. true if the input focus request was successful; otherwise, false. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. This member is for internal use only. This member is for internal use only. This member is for internal use only. Sets Edit mode for browser Gets or sets a value indicating whether browser content is read-only. Suppresses browser accessibility options if true Sets appearance mode If true, restores caret after OnNotifyChange event handler processing Gets or sets a value indicating whether the control can accept data that the user drags onto it. Sets appearance mode Sets DocType Return true, if control focused; otherwise, False. returns loaded document For internal use. For internal use. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. Represents a toolstrip color picker control. Initializes a new instance of the class. Raises the event. An that contains the event data. Gets or sets the color selected by the user. Occurs when the Color property value changes. IBookmarkItemDialog interface allows to customize the dialog used to insert or edit a bookmark. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IHyperlinkItemDialog interface allows to customize the dialog used to insert or edit a hyperlink. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False ICellItemDialog interface allows to customize the dialog used to insert or edit a table cell. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IColumnItemDialog interface allows to customize the dialog used to insert or edit a table column. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IImageItemDialog interface allows to customize the dialog used to insert or edit an image. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IFlashMovieItemDialog interface allows to customize the dialog used to insert or edit a Flash movie object. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IRowItemDialog interface allows to customize the dialog used to insert or edit a table row. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False ITableItemDialog interface allows to customize the dialog used to insert or edit a table. Implement this interface by a windows dialog form and use it in property. Assigns values to the dialog box fields. The object being edited. Shows the dialog window. True if the user selected OK to finish editing and close the dialog; otherwise False IFindReplaceDialog interface allows to customize the Find/Replace dialog. Implement this interface by a windows dialog form and use it in property. Sets values related to the search/replace conditions to the dialog fields. The object to set search values to the dialog fields. Shows the dialog window. Any object that implements that represents the top-level window that will own the modal dialog box. True if the dialog starts in find mode; False if the dialog starts in replace mode. IFormattingDialog interface allows to customize the Format dialog. Implement this interface by a windows dialog form and use it in property. Sets values related to the text format options to the dialog fields. The object providing data for the dialog. Shows the dialog window. Any object that implements that represents the top-level window that will own the modal dialog box. IMessageBox interface allows to customize the standard MessageBox.Show dialog. Implement this interface by a windows dialog form and use it in property. Shows the dialog window. Any object that implements that represents the top-level window that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values. Represents a set of interfaces to support user-defined dialogs. To use your own dialog, implement the required interface and set the corresponding property of . The contains several dialogs used to perform actions such as search/replace, inserting images, tables, and so on. To replace one or more of the built-in dialogs with your own custom ones, follow these steps: 1. Implement the custom dialog making sure it supports the appropriate interface (for example ). 2. Assign an instance of the custom dialog to the appropriate member of the property. The code below replaces the built-in bookmark and find/replace dialogs with customized versions of the dialogs. private void InitCustomDialogs() { _editor.CustomDialogs.BookmarkDialog = new BookmarkEditorForm(); _editor.CustomDialogs.FindReplaceDialog = new FindReplaceForm(); } User-defined Edit or insert bookmark dialog. User-defined Edit or insert hyperlink dialog. User-defined Edit or insert image dialog. User-defined Edit or insert Flash movie dialog. User-defined Edit or insert table row dialog. User-defined Edit or insert table dialog. User-defined Edit or insert table cell dialog. User-defined Edit or insert table column dialog. User-defined Find/Replace Dialog. User-defined Text Format dialog. User-defined Message dialog. Helper class for customizing the Find/Replace dialog. Implementing the interface, you receive an object of the FindReplaceSupport class in the method. Using properties and methods of this object you cam get data for and support UI in your dialog. Finds the next search pattern. Replaces current occurrence of a search pattern with replace pattern. Replaces all occurrences of a specified search pattern with the specified replace pattern. Gets or sets search direction. If True, searches above the current item. True if the find operation locates only entire words and not text that's part of a larger word. True if the find operation is case sensitive; otherwise, False. Gets or sets search pattern. Gets or sets replace pattern. Supports local formatting Applies changes made to the text in the dialog. True if the text is formatted as bold; otherwise, False. True if the text is formatted as italic; otherwise, False. True if the text is underlined; otherwise, False. True if the text is overlined; otherwise, False. True if the text is stricken through; otherwise, False. True if this text is hidden; otherwise, False. Gets or sets the font name used in the text. Gets or sets a string value that indicates the font size used in the text. Gets or sets the foreground color of the text. Gets or sets the letter spacing of the text. Gets or sets the text transform of the text. Gets or sets the background color of the text. Gets or sets the background image of the text. Gets or sets the the x-coordinate of the background position of the text. Gets or sets the the y-coordinate of the background position of the text. Gets or sets how the background picture is repeated. Gets or sets the border style of text. Gets or sets the top border style of text. Gets or sets the right border style of text. Gets or sets the bottom border style of text. Gets or sets the left border style of text. Gets or sets the border width of text. Gets or sets the top border width of text. Gets or sets the right border width of text. Gets or sets the bottom border width of text. Gets or sets the left border width of text. Gets or sets the border color of text. Gets or sets the top border color of text. Gets or sets the right border color of text. Gets or sets the bottom border color of text. Gets or sets the left border color of text. Gets or sets the padding of text. Gets or sets the top padding of text. Gets or sets the right padding of text. Gets or sets the bottom padding of text. Gets or sets the left padding of text. Gets or sets the margin of text. Gets or sets the top margin of text. Gets or sets the right margin of text. Gets or sets the bottom margin of text. Gets or sets the left margin of text. Gets or sets the text align. Gets or sets the word spacing of paragraph. Gets or sets the line height of paragraph. Gets or sets the text indent of paragraph. Gets or sets the text position. Gets or sets x-index of the text. Gets or sets the text width. Gets or sets the text height. Gets or sets the text top position. Gets or sets the text right position. Gets or sets the text bottom position. Gets or sets the text left position. This class is for internal use only. This interface is for internal use only. This member is for internal use only Event object. This member is for internal use only. Event object. This member is for internal use only. This member is for internal use only. Event object. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This interface is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. Connect to all elements in HTMLDocument. Input HTMLDocument Disconnect from all elements in HTMLDocument Adds new element for receiving events and conects to its events element to add This member is for internal use only htmlElement This member is for internal use only. Event for receiving onpropertychange from element. This member is for internal use only. Event for receiving onbeforecut from element. This member is for internal use only. Event for receiving onbeforecopy from element. This member is for internal use only. Event for receiving onbeforepaste from element. This member is for internal use only. Delegate for initializing event onpropertychange. Provides information about a bookmark within the document. tag with a name but without an href attribute. ]]> To enumerate all bookmarks in the document use the property. Moves selection to the specified bookmark. Removes the bookmark. The bookmark name. The following bookmark's name is "bm1": ]]> The code below loads all bookmarks in a tree using bookmark name. private void LoadBookmarks(XHTMLBookmarkItem item) { _tree.Nodes.Clear(); foreach (Bookmark bookmark in item.Bookmarks) { TreeNode node = _tree.Nodes.Add(bookmark.Name); node.Tag = bookmark; } } Returns true if the bookmark is removed during editing in a custom dialog. Use this property to determine if the bookmark has been removed to update your custom dialog's UI. Returns true if the bookmark is inside current selection. Represents a collection of bookmarks. Use the property to get a list of all bookmarks in the document. The code below loads all bookmarks in a tree. private void LoadBookmarks(XHTMLBookmarkItem item) { _tree.Nodes.Clear(); foreach (Bookmark bookmark in item.Bookmarks) { TreeNode node = _tree.Nodes.Add(bookmark.Name); node.Tag = bookmark; } } Gets the number of bookmarks in the collection. The code below checks if any bookmark has been deleted during editing in a custom bookmark dialog. private bool HaveDeletedBookmarks(XHTMLBookmarkItem item) { for (int i =item.Bookmarks.Count - 1; i >= 0; i--) if (item.Bookmarks[i].IsRemoved) return true; return false; } Gets the bookmark at the specified index. The zero-based index of the bookmark to get. The bookmark at the specified index. The code below checks if any bookmark has been deleted during editing in a custom bookmark dialog. private bool HaveDeletedBookmarks(XHTMLBookmarkItem item) { for (int i =item.Bookmarks.Count - 1; i >= 0; i--) if (item.Bookmarks[i].IsRemoved) return true; return false; } Provides data to bind to and use in a custom Hyperlink edit dialog. Implementing a custom Hyperlink dialog, you will receive an instance of the XHTMLHyperlinkItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IHyperlinkItemDialog.BindData(XHTMLHyperlinkItem item) { if (!string.IsNullOrEmpty(item.AccessKey) && item.AccessKey.Length > 1) item.AccessKey = item.AccessKey.Substring(0, 1); _tbText.DataBindings.Add("Text", item, "Text"); _tbLink.DataBindings.Add("Text", item, "Href"); _tbTitle.DataBindings.Add("Text", item, "Title"); _tbAccessKey.DataBindings.Add("Text", item, "AccessKey"); _tbTabIndex.DataBindings.Add("Value", item, "TabIndex"); _cmbTarget.DataBindings.Add("Text", item, "Target"); _tbText.Enabled = item.IsEmpty; _tbText_TextChanged(this, EventArgs.Empty); } Base class for classes used to provide data to custom edit dialogs. The derived classes are , , , , , , Implementing a custom dialog, you will receive an instance of a successor of the XHTMLItemBase class in the BindData method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IImageItemDialog.BindData(XHTMLImageItem item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _cbxHeightType.SelectedIndex = (int)Item.HeightType; _tbWidthValue.Value = Math.Max(Item.WidthValue, 1); _tbHeightValue.Value = Math.Max(Item.HeightValue, 1); _tbSource.DataBindings.Add("Text", Item, "Source"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); _chkHeight.DataBindings.Add("Checked", Item, "UseHeight"); _tbAlternate.DataBindings.Add("Text", Item, "Alternate"); SetButtonState(this, EventArgs.Empty); } For internal use only. For internal use only. For internal use only. Applies changes made in the dialog to the document. Converts a string to a value of type. String value to convert. A value of type. Converts a string to a value of type. String value to convert. A value of type. For internal use. Xml node. For internal use. Range. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. For internal use. xml node. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. Gets or sets item style. Returns an representing the content that is being edited in the dialog. File name of the document. If True, the dialog is in editing mode; otherwise, the dialog is in creating new object mode. If True, the Apply button appears in the dialog. Returns true if specified item is equal to the anchor. XHTMLHyperlinkItem object to compare with the current XHTMLHyperlinkItem object. true if is equal to the current XHTMLHyperlinkItem object. false if is not equal to the current XHTMLHyperlinkItem object. For internal use. For internal use. For internal use. xml node. Gets or sets hyperlink text. If the hyperlink is created/edited on a non-empty selection, this setting is ignored. Gets or sets the destination of the bookmark. Gets or sets extra information about the element. Specifies a keyboard shortcut to access the element. Specifies the tab order of the element. Specifies where to open the linked document. Returns a Boolean value indicating whether the link does not have inner text. The exception that is raised when a bookmark name is invalid. The exception that is raised when a bookmark name is not unique within the document. Provides bookmark data to use in custom edit dialogs. Implementing a custom Bookmark dialog, you will receive an instance of the XHTMLBookmarkItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IBookmarkItemDialog.BindData(XHTMLBookmarkItem item) { _tbName.DataBindings.Add("Text", item, "Name"); LoadBookmarks(item); ButtonOKEnabledChanged(this, EventArgs.Empty); } private void LoadBookmarks(XHTMLBookmarkItem item) { _tree.Nodes.Clear(); foreach (Bookmark bookmark in item.Bookmarks) { TreeNode node = _tree.Nodes.Add(bookmark.Name); node.Tag = bookmark; } UpdateToolbarState(); } Returns true if specified item is equal to the anchor. XHTMLBookmarkItem object to compare with the current XHTMLBookmarkItem object. true if is equal to the current XHTMLBookmarkItem object. false if is not equal to the current XHTMLBookmarkItem object. For internal use. For internal use. For internal use. xml node. Checks current bookmark for name validity and uniqueness. Applies changes made in a custom Bookmarks dialog. Gets bookmark text. Specifies the name of the bookmark. List of all bookmarks of the document. Use the property to get a list of all bookmarks in the document. The code below loads all bookmarks in a tree. private void LoadBookmarks() { _tree.Nodes.Clear(); foreach (Bookmark bookmark in Item.Bookmarks) { TreeNode node = _tree.Nodes.Add(bookmark.Name); node.Tag = bookmark; } } Returns a Boolean value indicating whether the link does not have inner text. Specifies how an object or text is horizontally aligned. The alignment is not specified. The object or text is aligned to the left. The object or text is aligned the center. The object or text is aligned to the right. Specifies how an object or text is aligned vertically . The alignment is not specified. The object or text is aligned to the top. The object or text is aligned to the center. The object or text is aligned to the bottom. Specifies the units for measuring size. Specifies device pixels as the unit for measuring size. Specifies percentage as the unit for measuring size. Provides data to bind to and use in a custom Table Cell edit dialog. Implementing a custom Table cell dialog, you will receive an instance of the XHTMLCellItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void ICellItemDialog.BindData(XHTMLCellItem Item) { _cbxVerticalAlignment.SelectedIndex = (int)Item.VerticalAlignment; _cbxHorizontalAlignment.SelectedIndex = (int)Item.HorizontalAlignment; _nudColSpan.DataBindings.Add("Value", Item, "ColSpan"); _nudRowSpan.DataBindings.Add("Value", Item, "RowSpan"); _chbHeader.DataBindings.Add("Checked", Item, "IsHeader"); } For internal use only. For internal use only. For internal use only. Specifies vertical alignment of the cell. Specifies horizontal alignment of the cell. Gets or sets the number of rows in the table that the cell spans. Gets or sets the number of columns in the table that the cell spans. Gets or sets a Boolean value indicating whether the cell belongs to a header. Provides data to bind to and use in a custom Table column edit dialog. Implementing a custom Table column dialog, you will receive an instance of the XHTMLColumnItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IColumnItemDialog.BindData(XHTMLColumnItem item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _cbxVerticalAlignment.SelectedIndex = (int)Item.VerticalAlignment; _cbxHorizontalAlignment.SelectedIndex = (int)Item.HorizontalAlignment; _nudSpan.DataBindings.Add("Value", Item, "Span"); _tbWidthValue.DataBindings.Add("Value", Item, "WidthValue"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); } For internal use only. For internal use only. For internal use only. Specifies vertical alignment of the table column. Specifies horizontal alignment of the table column. Gets or sets the number of columns in the table that each cell of the column spans. Specifies the units used to measure width. Gets or sets the integer value of the column's width. True, if column width is specified; otherwise false. Provides data to bind to and use in a custom Image edit dialog. Implementing a custom Image dialog, you will receive an instance of the XHTMLCellItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IImageItemDialog.BindData(XHTMLImageItem Item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _cbxHeightType.SelectedIndex = (int)Item.HeightType; _tbWidthValue.Value = Math.Max(Item.WidthValue, 1); _tbHeightValue.Value = Math.Max(Item.HeightValue, 1); _tbSource.DataBindings.Add("Text", Item, "Source"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); _chkHeight.DataBindings.Add("Checked", Item, "UseHeight"); _tbAlternate.DataBindings.Add("Text", Item, "Alternate"); } For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. Specifies the units used to measure width. Specifies the units used to measure height. Gets or sets the integer value of the image width. Gets or sets the integer value of the image height. True, if the image width is specified; otherwise false. True, if the image height is specified; otherwise false. Sets or retrieves the URL of the image. Sets or retrieves a text alternative to the graphic. Provides data to bind to and use in a custom Flash movie edit dialog. Implementing a custom Flash movie dialog, you will receive an instance of the XHTMLFlashMovieItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IFlashMovieItemDialog.BindData(XHTMLFlashMovieItem Item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _cbxHeightType.SelectedIndex = (int)Item.HeightType; _nudWidthValue.DataBindings.Add("Value", Item, "WidthValue"); _nudHeightValue.DataBindings.Add("Value", Item, "HeightValue"); _tbData.DataBindings.Add("Text", Item, "Data"); _chbAutoplay.DataBindings.Add("Checked", Item, "Autoplay"); _chbLoop.DataBindings.Add("Checked", Item, "Loop"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); _chkHeight.DataBindings.Add("Checked", Item, "UseHeight"); _tbTitle.DataBindings.Add("Text", Item, "Title"); } For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. Specifies the units used to measure width. Specifies the units used to measure height. Gets or sets the integer value of the movie's width. Gets or sets the integer value of the movie's height. True, if width of the movie is specified; otherwise false. True, if height of the movie is specified; otherwise false. Defines a URL that points to the object's data. Returns or sets a value which determines if the movie will begin to play an .swf file when the .swf file is loaded into the document. Returns or sets a value which determines if the movie will play continuously. Specifies extra information about the element. Provides data to bind to and use in a custom Table Row edit dialog. Implementing a custom Table row dialog, you will receive an instance of the XHTMLRowItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void IRowItemDialog.BindData(XHTMLRowItem item) { _cbxVerticalAlignment.DataBindings.Add("SelectedIndex", item, "VerticalAlignment"); _cbxHorizontalAlignment.DataBindings.Add("SelectedIndex", item, "HorizontalAlignment"); } For internal use only. For internal use only. For internal use only. Specifies vertical alignment of the table row. Specifies horizontal alignment of the table row. Provides data to bind to and use in a custom Table edit dialog. Implementing a custom Table dialog, you will receive an instance of the XHTMLtableItem class in the method. Use it to bind the data to the dialog's UI. The code below binds data in the item to GUI controls of a custom dialog form. void ITableItemDialog.BindData(XHTMLTableItem item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _nudRowCount.DataBindings.Add("Value", Item, "RowCount"); _nudColumnCount.DataBindings.Add("Value", Item, "ColumnCount"); _tbWidthValue.DataBindings.Add("Value", Item, "WidthValue"); _nudCellPadding.DataBindings.Add("Value", Item, "CellPadding"); _nudCellSpacing.DataBindings.Add("Value", Item, "CellSpacing"); _nudBorder.DataBindings.Add("Value", Item, "Border"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); _tbCaption.DataBindings.Add("Text", Item, "Caption"); _tbSummary.DataBindings.Add("Text", Item, "Summary"); } For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. Initial number of columns in the table. Initial number of rows in the table. Gets or sets the number of columns in the table. Gets or sets the number of rows in the table. Specifies the units used to measure width. Gets or sets the integer value of the table width. True, if the table width is specified; otherwise false. Sets or retrieves the amount of space between cells in the table. Sets or retrieves the amount of space between the border of the cell and the content of the cell. Sets or retrieves the width of the border to draw around the table. Sets or retrieves the caption of the table. Sets or retrieves a description of the table. This class represents a text position within the XmlDocument. Allows the text contents of the document to be programmatically manipulated from your program. Moves this object to another pointer's location. Pointer to a object where the original pointer is moved. Moves this object by 'count' number of units. MoveUnitAction enumeration value that specifies the move action to perform. Number of units to move the MarkupPointer around. The inequality operator (!=) returns False if its operands of type are equal; otherwise, it returns True. The first text pointer to compare. The second text pointer to compare. Returns True if two specified objects of type are not equal; otherwise, it returns False. The equality operator (==) compares two operands and returns True if the operands are equal; otherwise, it returns False. The first text pointer to compare. The second text pointer to compare. Returns True if two operands are equal; otherwise, it returns False. The code below compares end position of range1 and start position of range2. if (range1.End == range2.Start) Console.WriteLine("The ranges are adjacent."); Compares two objects for equality. A object to which to compare the current object. True if the objects are equal; otherwise, False. Overrides An object to which to compare the current object. True if the objects are equal; otherwise, False. Returns the hash code for this instance. A 32-bit signed integer hash code. Checks to see whether this text pointer's position is to the left of another text pointer's position. The first text pointer to compare. The second text pointer to compare. True if the first pointer is to the left of the second pointer, otherwise false. Checks to see whether this text pointer's position is to the left of or is equal to another text pointer's position. The first text pointer to compare. The second text pointer to compare. True if the first pointer is to the left of or is equal to the second pointer, otherwise false. Checks to see whether this text pointer's position is to the right of another text pointer's position. The first text pointer to compare. The second text pointer to compare. True if the first pointer is to the right of the second pointer, otherwise false. Checks to see whether this text pointer's position is to the right of or is equal to another text pointer's position. The first text pointer to compare. The second text pointer to compare. True if the first pointer is to the right of or is equal to the second pointer, otherwise false. Returns offset (as number of characters) of the text pointer, in relation to the . Gets the next node to the left. Gets the next node to the right. XmlNode which contains the text pointer. Represents a contiguous area in an XML document. Each C1TextRange object is defined by a starting, , and an ending, , character position of the type . C1TextRange objects are used to identify specific portions of a document. C1TextRange objects are independent of the selection. That is, you can define and manipulate a range without changing the selection. You can also define multiple ranges in a document, while there can be only one selection per pane. Creates and returns a copy of the current text range. A copy of the current text range. Moves start and end pointers of the range to exclude leading and trailing white-space characters from the current range. The code below sets new background color for all words in selection, excluding leading and trailing white spaces. private void button1_Click(object sender, EventArgs e) { C1TextRange r = c1Editor1.Selection.Clone(); r.Trim(); r.ApplyStyle("background-color", "#999999", C1StyleType.Character); } Moves the range pointers to the most inner text. Different ranges can point to one and the same text, but to different XML tags. For example we have three XML-fragments: <p>text|<strong><em>inner text</em></strong>|text</p>, <p>text<strong>|<em>inner text</em>|</strong>text</p>, and <p>text<strong><em>|inner text|</em></strong>text</p> In all three fragments the ranges point to one and the same text "inner text", but they have different XML-ranges. The Normalize method transforms the first two ranges to the third one; it moves pointers inside (into the most inner tag). So, this method is necessary for a user to be sure that he works with a range positioned only on the text but not somewhere between elements in a document. The following example replaces the selected text with a new value. C1TextRange range = _editor.Selection.Clone(); range.Text = value; //after inserting text we must collapse selection to the end range.Normalize(); range.Start.MoveTo(range.End); range.Select(); Moves selection to the current text range. The following example replaces the selected text with a new value and moves selection to the end of the new text. C1TextRange range = _editor.Selection.Clone(); range.Text = value; //after inserting text we must collapse selection to the end range.Normalize(); range.Start.MoveTo(range.End); range.Select(); Moves the current range by the specified offset and length. Specifies the number of characters to offset the current text range in relation to the current start of the range. Specifies the new length of the range. The example marks a character before the selection using yellow color. private void c1Editor1_SelectionChanged(object sender, EventArgs e) { if (_colored != null) { _colored.RemoveStyle("color", "yellow"); _colored = null; } C1TextRange sel = c1Editor1.Selection.Clone(); sel.Move(-1, 1); sel.ApplyStyle("color", "yellow", C1StyleType.Character); _colored = sel; } private C1TextRange _colored = null; Moves the object to the specified . The target node where the C1TextRange object will be moved. The following example selects the first paragraph in the document. private void button1_Click(object sender, EventArgs e) { XmlNode p0 = c1Editor1.Document.GetElementsByTagName("p")[0]; C1TextRange range = c1Editor1.CreateRange(); range.MoveTo(p0); range.Select(); } Removes text and paragraph formatting from the text range. The example shows how to clear any formatting of selected text. private void button1_Click(object sender, EventArgs e) { editor.Selection.ClearFormatting(); } Applies specified tag to the text range. XHTML tag to apply to the current text range. This sample applies the "strong", or bold, style to the selected text. C1TextRange range = c1Editor1.Selection; range.ApplyTag("strong"); Applies specified CSS class to the text range. The name of a CSS class to apply to the current text range. Applies specified CSS class to the text range. The name of a CSS class to apply to the current text range. Defines type of content to which the inline style must be applied. This code applies a "main_topic" class to the paragraph. range.ApplyClass("main_topic", C1StyleType.Paragraph); Applies specified inline style to the range. Name of CSS property. CSS value. This example converts a Color value to a CSS value and sets it as the background color of the selected range. string htmlColor = ColorTranslator.ToHtml(value); c1Editor1.Selection.ApplyStyle("background-color", htmlColor); Applies specified inline style to the range. Name of CSS property. CSS value. Defines type of content to which inline style must be applied. Removes specified tag from the . Tag to remove from the . This example makes the selected text bold, if the value is True, or regular, if the value is False. function SetStrong(bool value) { if (value) _editor.Selection.ApplyTag("strong"); else _editor.Selection.RemoveTag("strong"); } Removes specified CSS class from the range. Class to remove. This example, if the value is True, marks the selected text as topic, using a "topic" CSS class, or, if the value is False, removes the "topic" class from the selected text. function SetTopic(bool value) { if (value) _editor.Selection.ApplyClass("topic"); else _editor.Selection.RemoveClass("topic"); } Removes the specified inline style. Name of the inline style. CSS value of the inline style. If is null, the function removes specified inline style with any value. This example removes specified color from the selected text. If the value is null it applies default color to the text. function SetColor(Color value) { if (value.IsEmpty) _editor.Selection.RemoveStyle("color", null); else { string foreColor = System.Drawing.ColorTranslator.ToHtml(value); _editor.Selection.ApplyStyle("color", foreColor, C1StyleType.Character); } } Returns a value indicating whether the specified tag is applied to the . The tag name. True, if the specified tag is applied to the current range; otherwise, False. The code updates an application UI. It marks an "Ordered list" button as checked if an ordered list is selected. It marks an "Unordered list" button as checked if an unordered list is selected. btnOrderedList.Checked = _editor.Selection.IsTagApplied("ol"); btnUnorderedList.Checked = _editor.Selection.IsTagApplied("ul"); Returns a value indicating whether the specified CSS class is applied to the . The CSS class name to check. True, if the CSS class is applied to the range; otherwise, False. This example updates some UI controls depending on the style of the selected text. function UpdateUI() { if (_editor.Mode == EditorMode.Design) { _button1.Enabled = _editor.Selection.IsClassApplied("topic"); _button2.Enabled = _editor.Selection.IsClassApplied("book"); } } Returns a value indicating whether the inline style is applied to all text within the . The CSS property name. True, if the CSS class is applied to the range; otherwise, False. The example demonstrates a function which determines whether or not selected text is underlined. function IsUnderline() { if (_editor.Mode == EditorMode.Design) { bool res = false; if (_editor.Selection.IsStyleApplied("text-decoration")) res = string.Compare(_editor.Selection.GetStyleValue("text-decoration", C1StyleType.Character), "underline", true) == 0; return res; } else return false; } Gets an inline style value by the given CSS property name. The CSS property name. The string value of the given property. The example shows how to write a function which returns font size of the selected text. string GetSelectionFontSize() { if (_editor.Mode == EditorMode.Design) { string size = _editor.Selection.GetStyleValue("font-size") ?? string.Empty; return size.EndsWith("pt") ? size.Substring(0, size.Length - 2) : size; } else return string.Empty; } Gets an inline style value by the given CSS property name. The CSS property name. Specifies the type of content to which the inline style will be applied. The string value of the given property. Replaces the text range content with the given of type. An XmlElement to replace the range content. The example replaces selected text with a div XmlElement. private void button1_Click(object sender, EventArgs e) { XmlElement node = c1Editor1.Document.CreateElement("div"); node.InnerText = "New Element"; c1Editor1.Selection.SetXmlElement(node); } Gets nodes list by the given C1StyleType value. Specifies the type of nodes that must be included to the output list. Specifies whether partially selected nodes must be included to the output list. The list of the nodes with specified type. Gets the start pointer of the range. Gets the end pointer of the range. Returns or sets the inner text of the text range. This code demonstrates the and the properties. Document

123456

", new Uri("c:\\")); C1TextRange r = c1Editor1.CreateRange(); r.Move(1, 3); Console.WriteLine(r.Text); // Output: 234 Console.WriteLine(r.XmlText); // Output:

234

r.XmlText = "
New Text
"; Console.WriteLine(c1Editor1.Text); //Output: //1 //NewText //56 } ]]>
Returns or sets the XML text of the text range. This code demonstrates the and the properties. Document

123456

", new Uri("c:\\")); C1TextRange r = c1Editor1.CreateRange(); r.Move(1, 3); Console.WriteLine(r.Text); // Output: 234 Console.WriteLine(r.XmlText); // Output:

234

r.XmlText = "
New Text
"; Console.WriteLine(c1Editor1.Text); //Output: //1 //NewText //56 } ]]>
Returns an which covers the current range. Represents text selected by a user in the . Represents a object which support interactions with the selected table. Represents a object which support interactions with the selected list. Represents a object which support interactions with the selected comment. Allows the user to work with a table currently selected in the editor. Executes the specified action. The action to execute. Returns a Boolean value indicating whether the specified action can be executed. The action to be executed. A Boolean value indicating whether or not the specified action can be executed. Shows the specified dialog. The type of the dialog to show. Returns a Boolean value indicating whether the specified dialog box can be shown. The type of dialog box to be shown. A Boolean value indicating whether or not the specified dialog can be shown. Determines the action to perform on the table. Use this when you call the method or the method to specify what dialog type to show. Selects all cells in the table. Selects all cells in the table row. Selects all cell in the table column. Selects all text in the cell. Deletes the selected table. Deletes the selected table rows. Deletes the selected table columns. Inserts a column before the selected column. Inserts a column after the selected column. Inserts a row above the selected row. Inserts a row below the selected row. Merges the selected cells. Splits the selected cell. Represents the type of a dialog box to be used. Table dialog box. Row dialog box. Column dialog box. Cell dialog box. Allows the user to work with a list currently selected in the editor. Executes the specified action. The action to execute. Returns a Boolean value indicating whether the specified action can be executed. The action to be executed. A Boolean value indicating whether or not the specified action can be executed. Gets or sets list type. Determines the action to perform on the list. Use this when you call the method or the method to specify what action to execute. Increase level of the selected list items. Decrease level of the selected list items. Continue numbering. Restart numbering. Determines the type of the list. Used by the see property. No list. Numbered list. Bulleted list. Allows the user to work with a list currently selected in the editor. Returns a Boolean value indicating whether the specified action can be executed. The action to be executed. A Boolean value indicating whether or not the specified action can be executed. Returns a Boolean value indicating whether the specified action can be executed. The action to be executed. A Boolean value indicating whether or not the specified action can be executed. Determines the action to perform on the comments. Use this when you call the method or the method to specify what action to execute. Adds comment to the current selection. Edits the current comment. Replies to the current comment. Removes the current comment. Removes all comments in the document. Moves to the previous comment Moves to the next comment This class provides undo and redo operations. Undo a given number of operations. Number of operations to undo. Redo a given number of operations. Number of operations to redo. Undo the last operation. Redo the last operation Returns the list of available undo operations. Returns the list of available redo operations. Returns true if undo command can be executed Returns true if redo command can be executed For internal use only Helper interface to indicate to MSHTML that LoadHTMLMoniker class is capable of Async operations This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. IHTMLBodyElement interface. createTextRange method of IHTMLBodyElement interface. An original IDL definition of createTextRange method was the following: HRESULT createTextRange ([out, retval] IHTMLTxtRange** ReturnValue); aLink property of IHTMLBodyElement interface. An original IDL definition of aLink property was the following: VARIANT aLink; background property of IHTMLBodyElement interface. An original IDL definition of background property was the following: BSTR background; bgColor property of IHTMLBodyElement interface. An original IDL definition of bgColor property was the following: VARIANT bgColor; bgProperties property of IHTMLBodyElement interface. An original IDL definition of bgProperties property was the following: BSTR bgProperties; bottomMargin property of IHTMLBodyElement interface. An original IDL definition of bottomMargin property was the following: VARIANT bottomMargin; leftMargin property of IHTMLBodyElement interface. An original IDL definition of leftMargin property was the following: VARIANT leftMargin; link property of IHTMLBodyElement interface. An original IDL definition of link property was the following: VARIANT link; noWrap property of IHTMLBodyElement interface. An original IDL definition of noWrap property was the following: VARIANT_BOOL noWrap; onbeforeunload property of IHTMLBodyElement interface. An original IDL definition of onbeforeunload property was the following: VARIANT onbeforeunload; onload property of IHTMLBodyElement interface. An original IDL definition of onload property was the following: VARIANT onload; onselect property of IHTMLBodyElement interface. An original IDL definition of onselect property was the following: VARIANT onselect; onunload property of IHTMLBodyElement interface. An original IDL definition of onunload property was the following: VARIANT onunload; rightMargin property of IHTMLBodyElement interface. An original IDL definition of rightMargin property was the following: VARIANT rightMargin; scroll property of IHTMLBodyElement interface. An original IDL definition of scroll property was the following: BSTR scroll; text property of IHTMLBodyElement interface. An original IDL definition of text property was the following: VARIANT text; topMargin property of IHTMLBodyElement interface. An original IDL definition of topMargin property was the following: VARIANT topMargin; vLink property of IHTMLBodyElement interface. An original IDL definition of vLink property was the following: VARIANT vLink; This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. IHTMLDocument interface. Script property of IHTMLDocument interface. An original IDL definition of Script property was the following: IDispatch* Script; IHTMLDocument2 interface. write method of IHTMLDocument2 interface. An original IDL definition of write method was the following: HRESULT write (SAFEARRAY() psarray); writeln method of IHTMLDocument2 interface. An original IDL definition of writeln method was the following: HRESULT writeln (SAFEARRAY() psarray); open method of IHTMLDocument2 interface. An original IDL definition of open method was the following: HRESULT open ([optional, defaultvalue("text/html")] BSTR url, [optional] VARIANT name, [optional] VARIANT features, [optional] VARIANT replace, [out, retval] IDispatch** ReturnValue); close method of IHTMLDocument2 interface. An original IDL definition of close method was the following: HRESULT close (void); clear method of IHTMLDocument2 interface. An original IDL definition of clear method was the following: HRESULT clear (void); queryCommandSupported method of IHTMLDocument2 interface. An original IDL definition of queryCommandSupported method was the following: HRESULT queryCommandSupported (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandEnabled method of IHTMLDocument2 interface. An original IDL definition of queryCommandEnabled method was the following: HRESULT queryCommandEnabled (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandState method of IHTMLDocument2 interface. An original IDL definition of queryCommandState method was the following: HRESULT queryCommandState (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandIndeterm method of IHTMLDocument2 interface. An original IDL definition of queryCommandIndeterm method was the following: HRESULT queryCommandIndeterm (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandText method of IHTMLDocument2 interface. An original IDL definition of queryCommandText method was the following: HRESULT queryCommandText (BSTR cmdID, [out, retval] BSTR* ReturnValue); queryCommandValue method of IHTMLDocument2 interface. An original IDL definition of queryCommandValue method was the following: HRESULT queryCommandValue (BSTR cmdID, [out, retval] VARIANT* ReturnValue); execCommand method of IHTMLDocument2 interface. An original IDL definition of execCommand method was the following: HRESULT execCommand (BSTR cmdID, [optional, defaultvalue(0)] VARIANT_BOOL showUI, [optional] VARIANT value, [out, retval] VARIANT_BOOL* ReturnValue); execCommandShowHelp method of IHTMLDocument2 interface. An original IDL definition of execCommandShowHelp method was the following: HRESULT execCommandShowHelp (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); createElement method of IHTMLDocument2 interface. An original IDL definition of createElement method was the following: HRESULT createElement (BSTR eTag, [out, retval] IHTMLElement** ReturnValue); elementFromPoint method of IHTMLDocument2 interface. An original IDL definition of elementFromPoint method was the following: HRESULT elementFromPoint (long x, long y, [out, retval] IHTMLElement** ReturnValue); toString method of IHTMLDocument2 interface. An original IDL definition of toString method was the following: HRESULT toString ([out, retval] BSTR* ReturnValue); createStyleSheet method of IHTMLDocument2 interface. An original IDL definition of createStyleSheet method was the following: HRESULT createStyleSheet ([optional, defaultvalue("")] BSTR bstrHref, [optional, defaultvalue(-1)] long lIndex, [out, retval] IHTMLStyleSheet** ReturnValue); activeElement property of IHTMLDocument2 interface. An original IDL definition of activeElement property was the following: IHTMLElement* activeElement; alinkColor property of IHTMLDocument2 interface. An original IDL definition of alinkColor property was the following: VARIANT alinkColor; all property of IHTMLDocument2 interface. An original IDL definition of all property was the following: IHTMLElementCollection* all; anchors property of IHTMLDocument2 interface. An original IDL definition of anchors property was the following: IHTMLElementCollection* anchors; applets property of IHTMLDocument2 interface. An original IDL definition of applets property was the following: IHTMLElementCollection* applets; bgColor property of IHTMLDocument2 interface. An original IDL definition of bgColor property was the following: VARIANT bgColor; body property of IHTMLDocument2 interface. An original IDL definition of body property was the following: IHTMLElement* body; charset property of IHTMLDocument2 interface. An original IDL definition of charset property was the following: BSTR charset; cookie property of IHTMLDocument2 interface. An original IDL definition of cookie property was the following: BSTR cookie; defaultCharset property of IHTMLDocument2 interface. An original IDL definition of defaultCharset property was the following: BSTR defaultCharset; designMode property of IHTMLDocument2 interface. An original IDL definition of designMode property was the following: BSTR designMode; domain property of IHTMLDocument2 interface. An original IDL definition of domain property was the following: BSTR domain; embeds property of IHTMLDocument2 interface. An original IDL definition of embeds property was the following: IHTMLElementCollection* embeds; expando property of IHTMLDocument2 interface. An original IDL definition of expando property was the following: VARIANT_BOOL expando; fgColor property of IHTMLDocument2 interface. An original IDL definition of fgColor property was the following: VARIANT fgColor; fileCreatedDate property of IHTMLDocument2 interface. An original IDL definition of fileCreatedDate property was the following: BSTR fileCreatedDate; fileModifiedDate property of IHTMLDocument2 interface. An original IDL definition of fileModifiedDate property was the following: BSTR fileModifiedDate; fileSize property of IHTMLDocument2 interface. An original IDL definition of fileSize property was the following: BSTR fileSize; fileUpdatedDate property of IHTMLDocument2 interface. An original IDL definition of fileUpdatedDate property was the following: BSTR fileUpdatedDate; forms property of IHTMLDocument2 interface. An original IDL definition of forms property was the following: IHTMLElementCollection* forms; frames property of IHTMLDocument2 interface. An original IDL definition of frames property was the following: IHTMLFramesCollection2* frames; images property of IHTMLDocument2 interface. An original IDL definition of images property was the following: IHTMLElementCollection* images; lastModified property of IHTMLDocument2 interface. An original IDL definition of lastModified property was the following: BSTR lastModified; linkColor property of IHTMLDocument2 interface. An original IDL definition of linkColor property was the following: VARIANT linkColor; links property of IHTMLDocument2 interface. An original IDL definition of links property was the following: IHTMLElementCollection* links; location property of IHTMLDocument2 interface. An original IDL definition of location property was the following: IHTMLLocation* location; mimeType property of IHTMLDocument2 interface. An original IDL definition of mimeType property was the following: BSTR mimeType; nameProp property of IHTMLDocument2 interface. An original IDL definition of nameProp property was the following: BSTR nameProp; onafterupdate property of IHTMLDocument2 interface. An original IDL definition of onafterupdate property was the following: VARIANT onafterupdate; onbeforeupdate property of IHTMLDocument2 interface. An original IDL definition of onbeforeupdate property was the following: VARIANT onbeforeupdate; onclick property of IHTMLDocument2 interface. An original IDL definition of onclick property was the following: VARIANT onclick; ondblclick property of IHTMLDocument2 interface. An original IDL definition of ondblclick property was the following: VARIANT ondblclick; ondragstart property of IHTMLDocument2 interface. An original IDL definition of ondragstart property was the following: VARIANT ondragstart; onerrorupdate property of IHTMLDocument2 interface. An original IDL definition of onerrorupdate property was the following: VARIANT onerrorupdate; onhelp property of IHTMLDocument2 interface. An original IDL definition of onhelp property was the following: VARIANT onhelp; onkeydown property of IHTMLDocument2 interface. An original IDL definition of onkeydown property was the following: VARIANT onkeydown; onkeypress property of IHTMLDocument2 interface. An original IDL definition of onkeypress property was the following: VARIANT onkeypress; onkeyup property of IHTMLDocument2 interface. An original IDL definition of onkeyup property was the following: VARIANT onkeyup; onmousedown property of IHTMLDocument2 interface. An original IDL definition of onmousedown property was the following: VARIANT onmousedown; onmousemove property of IHTMLDocument2 interface. An original IDL definition of onmousemove property was the following: VARIANT onmousemove; onmouseout property of IHTMLDocument2 interface. An original IDL definition of onmouseout property was the following: VARIANT onmouseout; onmouseover property of IHTMLDocument2 interface. An original IDL definition of onmouseover property was the following: VARIANT onmouseover; onmouseup property of IHTMLDocument2 interface. An original IDL definition of onmouseup property was the following: VARIANT onmouseup; onreadystatechange property of IHTMLDocument2 interface. An original IDL definition of onreadystatechange property was the following: VARIANT onreadystatechange; onrowenter property of IHTMLDocument2 interface. An original IDL definition of onrowenter property was the following: VARIANT onrowenter; onrowexit property of IHTMLDocument2 interface. An original IDL definition of onrowexit property was the following: VARIANT onrowexit; onselectstart property of IHTMLDocument2 interface. An original IDL definition of onselectstart property was the following: VARIANT onselectstart; parentWindow property of IHTMLDocument2 interface. An original IDL definition of parentWindow property was the following: IHTMLWindow2* parentWindow; plugins property of IHTMLDocument2 interface. An original IDL definition of plugins property was the following: IHTMLElementCollection* plugins; protocol property of IHTMLDocument2 interface. An original IDL definition of protocol property was the following: BSTR protocol; readyState property of IHTMLDocument2 interface. An original IDL definition of readyState property was the following: BSTR readyState; referrer property of IHTMLDocument2 interface. An original IDL definition of referrer property was the following: BSTR referrer; Script property of IHTMLDocument2 interface. An original IDL definition of Script property was the following: IDispatch* Script; scripts property of IHTMLDocument2 interface. An original IDL definition of scripts property was the following: IHTMLElementCollection* scripts; security property of IHTMLDocument2 interface. An original IDL definition of security property was the following: BSTR security; selection property of IHTMLDocument2 interface. An original IDL definition of selection property was the following: IHTMLSelectionObject* selection; styleSheets property of IHTMLDocument2 interface. An original IDL definition of styleSheets property was the following: IHTMLStyleSheetsCollection* styleSheets; title property of IHTMLDocument2 interface. An original IDL definition of title property was the following: BSTR title; url property of IHTMLDocument2 interface. An original IDL definition of url property was the following: BSTR url; vlinkColor property of IHTMLDocument2 interface. An original IDL definition of vlinkColor property was the following: VARIANT vlinkColor; IHTMLDocument3 interface. releaseCapture method of IHTMLDocument3 interface. An original IDL definition of releaseCapture method was the following: HRESULT releaseCapture (void); recalc method of IHTMLDocument3 interface. An original IDL definition of recalc method was the following: HRESULT recalc ([optional, defaultvalue(0)] VARIANT_BOOL fForce); createTextNode method of IHTMLDocument3 interface. An original IDL definition of createTextNode method was the following: HRESULT createTextNode (BSTR text, [out, retval] IHTMLDOMNode** ReturnValue); attachEvent method of IHTMLDocument3 interface. An original IDL definition of attachEvent method was the following: HRESULT attachEvent (BSTR event, IDispatch* pdisp, [out, retval] VARIANT_BOOL* ReturnValue); detachEvent method of IHTMLDocument3 interface. An original IDL definition of detachEvent method was the following: HRESULT detachEvent (BSTR event, IDispatch* pdisp); createDocumentFragment method of IHTMLDocument3 interface. An original IDL definition of createDocumentFragment method was the following: HRESULT createDocumentFragment ([out, retval] IHTMLDocument2** ReturnValue); getElementsByName method of IHTMLDocument3 interface. An original IDL definition of getElementsByName method was the following: HRESULT getElementsByName (BSTR v, [out, retval] IHTMLElementCollection** ReturnValue); getElementById method of IHTMLDocument3 interface. An original IDL definition of getElementById method was the following: HRESULT getElementById (BSTR v, [out, retval] IHTMLElement** ReturnValue); getElementsByTagName method of IHTMLDocument3 interface. An original IDL definition of getElementsByTagName method was the following: HRESULT getElementsByTagName (BSTR v, [out, retval] IHTMLElementCollection** ReturnValue); baseUrl property of IHTMLDocument3 interface. An original IDL definition of baseUrl property was the following: BSTR baseUrl; childNodes property of IHTMLDocument3 interface. An original IDL definition of childNodes property was the following: IDispatch* childNodes; dir property of IHTMLDocument3 interface. An original IDL definition of dir property was the following: BSTR dir; documentElement property of IHTMLDocument3 interface. An original IDL definition of documentElement property was the following: IHTMLElement* documentElement; enableDownload property of IHTMLDocument3 interface. An original IDL definition of enableDownload property was the following: VARIANT_BOOL enableDownload; inheritStyleSheets property of IHTMLDocument3 interface. An original IDL definition of inheritStyleSheets property was the following: VARIANT_BOOL inheritStyleSheets; onbeforeeditfocus property of IHTMLDocument3 interface. An original IDL definition of onbeforeeditfocus property was the following: VARIANT onbeforeeditfocus; oncellchange property of IHTMLDocument3 interface. An original IDL definition of oncellchange property was the following: VARIANT oncellchange; oncontextmenu property of IHTMLDocument3 interface. An original IDL definition of oncontextmenu property was the following: VARIANT oncontextmenu; ondataavailable property of IHTMLDocument3 interface. An original IDL definition of ondataavailable property was the following: VARIANT ondataavailable; ondatasetchanged property of IHTMLDocument3 interface. An original IDL definition of ondatasetchanged property was the following: VARIANT ondatasetchanged; ondatasetcomplete property of IHTMLDocument3 interface. An original IDL definition of ondatasetcomplete property was the following: VARIANT ondatasetcomplete; onpropertychange property of IHTMLDocument3 interface. An original IDL definition of onpropertychange property was the following: VARIANT onpropertychange; onrowsdelete property of IHTMLDocument3 interface. An original IDL definition of onrowsdelete property was the following: VARIANT onrowsdelete; onrowsinserted property of IHTMLDocument3 interface. An original IDL definition of onrowsinserted property was the following: VARIANT onrowsinserted; onstop property of IHTMLDocument3 interface. An original IDL definition of onstop property was the following: VARIANT onstop; parentDocument property of IHTMLDocument3 interface. An original IDL definition of parentDocument property was the following: IHTMLDocument2* parentDocument; uniqueID property of IHTMLDocument3 interface. An original IDL definition of uniqueID property was the following: BSTR uniqueID; This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. IHTMLElement interface. setAttribute method of IHTMLElement interface. An original IDL definition of setAttribute method was the following: HRESULT setAttribute (BSTR strAttributeName, VARIANT AttributeValue, [optional, defaultvalue(1)] long lFlags); getAttribute method of IHTMLElement interface. An original IDL definition of getAttribute method was the following: HRESULT getAttribute (BSTR strAttributeName, [optional, defaultvalue(0)] long lFlags, [out, retval] VARIANT* ReturnValue); removeAttribute method of IHTMLElement interface. An original IDL definition of removeAttribute method was the following: HRESULT removeAttribute (BSTR strAttributeName, [optional, defaultvalue(1)] long lFlags, [out, retval] VARIANT_BOOL* ReturnValue); scrollIntoView method of IHTMLElement interface. An original IDL definition of scrollIntoView method was the following: HRESULT scrollIntoView ([optional] VARIANT varargStart); contains method of IHTMLElement interface. An original IDL definition of contains method was the following: HRESULT contains (IHTMLElement* pChild, [out, retval] VARIANT_BOOL* ReturnValue); insertAdjacentHTML method of IHTMLElement interface. An original IDL definition of insertAdjacentHTML method was the following: HRESULT insertAdjacentHTML (BSTR where, BSTR html); insertAdjacentText method of IHTMLElement interface. An original IDL definition of insertAdjacentText method was the following: HRESULT insertAdjacentText (BSTR where, BSTR text); click method of IHTMLElement interface. An original IDL definition of click method was the following: HRESULT click (void); toString method of IHTMLElement interface. An original IDL definition of toString method was the following: HRESULT toString ([out, retval] BSTR* ReturnValue); all property of IHTMLElement interface. An original IDL definition of all property was the following: IDispatch* all; children property of IHTMLElement interface. An original IDL definition of children property was the following: IDispatch* children; className property of IHTMLElement interface. An original IDL definition of className property was the following: BSTR className; document property of IHTMLElement interface. An original IDL definition of document property was the following: IDispatch* document; filters property of IHTMLElement interface. An original IDL definition of filters property was the following: IHTMLFiltersCollection* filters; id property of IHTMLElement interface. An original IDL definition of id property was the following: BSTR id; innerHTML property of IHTMLElement interface. An original IDL definition of innerHTML property was the following: BSTR innerHTML; innerText property of IHTMLElement interface. An original IDL definition of innerText property was the following: BSTR innerText; isTextEdit property of IHTMLElement interface. An original IDL definition of isTextEdit property was the following: VARIANT_BOOL isTextEdit; lang property of IHTMLElement interface. An original IDL definition of lang property was the following: BSTR lang; language property of IHTMLElement interface. An original IDL definition of language property was the following: BSTR language; offsetHeight property of IHTMLElement interface. An original IDL definition of offsetHeight property was the following: long offsetHeight; offsetLeft property of IHTMLElement interface. An original IDL definition of offsetLeft property was the following: long offsetLeft; offsetParent property of IHTMLElement interface. An original IDL definition of offsetParent property was the following: IHTMLElement* offsetParent; offsetTop property of IHTMLElement interface. An original IDL definition of offsetTop property was the following: long offsetTop; offsetWidth property of IHTMLElement interface. An original IDL definition of offsetWidth property was the following: long offsetWidth; onafterupdate property of IHTMLElement interface. An original IDL definition of onafterupdate property was the following: VARIANT onafterupdate; onbeforeupdate property of IHTMLElement interface. An original IDL definition of onbeforeupdate property was the following: VARIANT onbeforeupdate; onclick property of IHTMLElement interface. An original IDL definition of onclick property was the following: VARIANT onclick; ondataavailable property of IHTMLElement interface. An original IDL definition of ondataavailable property was the following: VARIANT ondataavailable; ondatasetchanged property of IHTMLElement interface. An original IDL definition of ondatasetchanged property was the following: VARIANT ondatasetchanged; ondatasetcomplete property of IHTMLElement interface. An original IDL definition of ondatasetcomplete property was the following: VARIANT ondatasetcomplete; ondblclick property of IHTMLElement interface. An original IDL definition of ondblclick property was the following: VARIANT ondblclick; ondragstart property of IHTMLElement interface. An original IDL definition of ondragstart property was the following: VARIANT ondragstart; onerrorupdate property of IHTMLElement interface. An original IDL definition of onerrorupdate property was the following: VARIANT onerrorupdate; onfilterchange property of IHTMLElement interface. An original IDL definition of onfilterchange property was the following: VARIANT onfilterchange; onhelp property of IHTMLElement interface. An original IDL definition of onhelp property was the following: VARIANT onhelp; onkeydown property of IHTMLElement interface. An original IDL definition of onkeydown property was the following: VARIANT onkeydown; onkeypress property of IHTMLElement interface. An original IDL definition of onkeypress property was the following: VARIANT onkeypress; onkeyup property of IHTMLElement interface. An original IDL definition of onkeyup property was the following: VARIANT onkeyup; onmousedown property of IHTMLElement interface. An original IDL definition of onmousedown property was the following: VARIANT onmousedown; onmousemove property of IHTMLElement interface. An original IDL definition of onmousemove property was the following: VARIANT onmousemove; onmouseout property of IHTMLElement interface. An original IDL definition of onmouseout property was the following: VARIANT onmouseout; onmouseover property of IHTMLElement interface. An original IDL definition of onmouseover property was the following: VARIANT onmouseover; onmouseup property of IHTMLElement interface. An original IDL definition of onmouseup property was the following: VARIANT onmouseup; onrowenter property of IHTMLElement interface. An original IDL definition of onrowenter property was the following: VARIANT onrowenter; onrowexit property of IHTMLElement interface. An original IDL definition of onrowexit property was the following: VARIANT onrowexit; onselectstart property of IHTMLElement interface. An original IDL definition of onselectstart property was the following: VARIANT onselectstart; outerHTML property of IHTMLElement interface. An original IDL definition of outerHTML property was the following: BSTR outerHTML; outerText property of IHTMLElement interface. An original IDL definition of outerText property was the following: BSTR outerText; parentElement property of IHTMLElement interface. An original IDL definition of parentElement property was the following: IHTMLElement* parentElement; parentTextEdit property of IHTMLElement interface. An original IDL definition of parentTextEdit property was the following: IHTMLElement* parentTextEdit; recordNumber property of IHTMLElement interface. An original IDL definition of recordNumber property was the following: VARIANT recordNumber; sourceIndex property of IHTMLElement interface. An original IDL definition of sourceIndex property was the following: long sourceIndex; style property of IHTMLElement interface. An original IDL definition of style property was the following: IHTMLStyle* style; tagName property of IHTMLElement interface. An original IDL definition of tagName property was the following: BSTR tagName; title property of IHTMLElement interface. An original IDL definition of title property was the following: BSTR title; This interface is for internal use only. setCapture method of IHTMLElement2 interface. An original IDL definition of setCapture method was the following: HRESULT setCapture ([optional, defaultvalue(-1)] VARIANT_BOOL containerCapture); releaseCapture method of IHTMLElement2 interface. An original IDL definition of releaseCapture method was the following: HRESULT releaseCapture (void); componentFromPoint method of IHTMLElement2 interface. An original IDL definition of componentFromPoint method was the following: HRESULT componentFromPoint (long x, long y, [out, retval] BSTR* ReturnValue); doScroll method of IHTMLElement2 interface. An original IDL definition of doScroll method was the following: HRESULT doScroll ([optional] VARIANT component); getClientRects method of IHTMLElement2 interface. An original IDL definition of getClientRects method was the following: HRESULT getClientRects ([out, retval] IHTMLRectCollection** ReturnValue); getBoundingClientRect method of IHTMLElement2 interface. An original IDL definition of getBoundingClientRect method was the following: HRESULT getBoundingClientRect ([out, retval] IHTMLRect** ReturnValue); setExpression method of IHTMLElement2 interface. An original IDL definition of setExpression method was the following: HRESULT setExpression (BSTR propname, BSTR expression, [optional, defaultvalue("")] BSTR language); getExpression method of IHTMLElement2 interface. An original IDL definition of getExpression method was the following: HRESULT getExpression (BSTR propname, [out, retval] VARIANT* ReturnValue); removeExpression method of IHTMLElement2 interface. An original IDL definition of removeExpression method was the following: HRESULT removeExpression (BSTR propname, [out, retval] VARIANT_BOOL* ReturnValue); focus method of IHTMLElement2 interface. An original IDL definition of focus method was the following: HRESULT focus (void); blur method of IHTMLElement2 interface. An original IDL definition of blur method was the following: HRESULT blur (void); addFilter method of IHTMLElement2 interface. An original IDL definition of addFilter method was the following: HRESULT addFilter (IUnknown* pUnk); removeFilter method of IHTMLElement2 interface. An original IDL definition of removeFilter method was the following: HRESULT removeFilter (IUnknown* pUnk); attachEvent method of IHTMLElement2 interface. An original IDL definition of attachEvent method was the following: HRESULT attachEvent (BSTR event, IDispatch* pdisp, [out, retval] VARIANT_BOOL* ReturnValue); detachEvent method of IHTMLElement2 interface. An original IDL definition of detachEvent method was the following: HRESULT detachEvent (BSTR event, IDispatch* pdisp); createControlRange method of IHTMLElement2 interface. An original IDL definition of createControlRange method was the following: HRESULT createControlRange ([out, retval] IDispatch** ReturnValue); clearAttributes method of IHTMLElement2 interface. An original IDL definition of clearAttributes method was the following: HRESULT clearAttributes (void); mergeAttributes method of IHTMLElement2 interface. An original IDL definition of mergeAttributes method was the following: HRESULT mergeAttributes (IHTMLElement* mergeThis); insertAdjacentElement method of IHTMLElement2 interface. An original IDL definition of insertAdjacentElement method was the following: HRESULT insertAdjacentElement (BSTR where, IHTMLElement* insertedElement, [out, retval] IHTMLElement** ReturnValue); applyElement method of IHTMLElement2 interface. An original IDL definition of applyElement method was the following: HRESULT applyElement (IHTMLElement* apply, BSTR where, [out, retval] IHTMLElement** ReturnValue); getAdjacentText method of IHTMLElement2 interface. An original IDL definition of getAdjacentText method was the following: HRESULT getAdjacentText (BSTR where, [out, retval] BSTR* ReturnValue); replaceAdjacentText method of IHTMLElement2 interface. An original IDL definition of replaceAdjacentText method was the following: HRESULT replaceAdjacentText (BSTR where, BSTR newText, [out, retval] BSTR* ReturnValue); addBehavior method of IHTMLElement2 interface. An original IDL definition of addBehavior method was the following: HRESULT addBehavior (BSTR bstrUrl, [in, optional] VARIANT* pvarFactory, [out, retval] long* ReturnValue); removeBehavior method of IHTMLElement2 interface. An original IDL definition of removeBehavior method was the following: HRESULT removeBehavior (long cookie, [out, retval] VARIANT_BOOL* ReturnValue); getElementsByTagName method of IHTMLElement2 interface. An original IDL definition of getElementsByTagName method was the following: HRESULT getElementsByTagName (BSTR v, [out, retval] IHTMLElementCollection** ReturnValue); scopeName property of IHTMLElement2 interface. An original IDL definition of scopeName property was the following: BSTR scopeName; onlosecapture property of IHTMLElement2 interface. An original IDL definition of onlosecapture property was the following: VARIANT onlosecapture; onscroll property of IHTMLElement2 interface. An original IDL definition of onscroll property was the following: VARIANT onscroll; ondrag property of IHTMLElement2 interface. An original IDL definition of ondrag property was the following: VARIANT ondrag; ondragend property of IHTMLElement2 interface. An original IDL definition of ondragend property was the following: VARIANT ondragend; ondragenter property of IHTMLElement2 interface. An original IDL definition of ondragenter property was the following: VARIANT ondragenter; ondragover property of IHTMLElement2 interface. An original IDL definition of ondragover property was the following: VARIANT ondragover; ondragleave property of IHTMLElement2 interface. An original IDL definition of ondragleave property was the following: VARIANT ondragleave; ondrop property of IHTMLElement2 interface. An original IDL definition of ondrop property was the following: VARIANT ondrop; onbeforecut property of IHTMLElement2 interface. An original IDL definition of onbeforecut property was the following: VARIANT onbeforecut; oncut property of IHTMLElement2 interface. An original IDL definition of oncut property was the following: VARIANT oncut; onbeforecopy property of IHTMLElement2 interface. An original IDL definition of onbeforecopy property was the following: VARIANT onbeforecopy; oncopy property of IHTMLElement2 interface. An original IDL definition of oncopy property was the following: VARIANT oncopy; onbeforepaste property of IHTMLElement2 interface. An original IDL definition of onbeforepaste property was the following: VARIANT onbeforepaste; onpaste property of IHTMLElement2 interface. An original IDL definition of onpaste property was the following: VARIANT onpaste; currentStyle property of IHTMLElement2 interface. An original IDL definition of currentStyle property was the following: IHTMLCurrentStyle* currentStyle; onpropertychange property of IHTMLElement2 interface. An original IDL definition of onpropertychange property was the following: VARIANT onpropertychange; tabIndex property of IHTMLElement2 interface. An original IDL definition of tabIndex property was the following: short tabIndex; accessKey property of IHTMLElement2 interface. An original IDL definition of accessKey property was the following: BSTR accessKey; onblur property of IHTMLElement2 interface. An original IDL definition of onblur property was the following: VARIANT onblur; onfocus property of IHTMLElement2 interface. An original IDL definition of onfocus property was the following: VARIANT onfocus; onresize property of IHTMLElement2 interface. An original IDL definition of onresize property was the following: VARIANT onresize; clientHeight property of IHTMLElement2 interface. An original IDL definition of clientHeight property was the following: long clientHeight; clientWidth property of IHTMLElement2 interface. An original IDL definition of clientWidth property was the following: long clientWidth; clientTop property of IHTMLElement2 interface. An original IDL definition of clientTop property was the following: long clientTop; clientLeft property of IHTMLElement2 interface. An original IDL definition of clientLeft property was the following: long clientLeft; readyState property of IHTMLElement2 interface. An original IDL definition of readyState property was the following: VARIANT readyState; onreadystatechange property of IHTMLElement2 interface. An original IDL definition of onreadystatechange property was the following: VARIANT onreadystatechange; onrowsdelete property of IHTMLElement2 interface. An original IDL definition of onrowsdelete property was the following: VARIANT onrowsdelete; onrowsinserted property of IHTMLElement2 interface. An original IDL definition of onrowsinserted property was the following: VARIANT onrowsinserted; oncellchange property of IHTMLElement2 interface. An original IDL definition of oncellchange property was the following: VARIANT oncellchange; dir property of IHTMLElement2 interface. An original IDL definition of dir property was the following: BSTR dir; scrollHeight property of IHTMLElement2 interface. An original IDL definition of scrollHeight property was the following: long scrollHeight; scrollWidth property of IHTMLElement2 interface. An original IDL definition of scrollWidth property was the following: long scrollWidth; scrollTop property of IHTMLElement2 interface. An original IDL definition of scrollTop property was the following: long scrollTop; scrollLeft property of IHTMLElement2 interface. An original IDL definition of scrollLeft property was the following: long scrollLeft; oncontextmenu property of IHTMLElement2 interface. An original IDL definition of oncontextmenu property was the following: VARIANT oncontextmenu; canHaveChildren property of IHTMLElement2 interface. An original IDL definition of canHaveChildren property was the following: VARIANT_BOOL canHaveChildren; runtimeStyle property of IHTMLElement2 interface. An original IDL definition of runtimeStyle property was the following: IHTMLStyle* runtimeStyle; behaviorUrns property of IHTMLElement2 interface. An original IDL definition of behaviorUrns property was the following: IDispatch* behaviorUrns; tagUrn property of IHTMLElement2 interface. An original IDL definition of tagUrn property was the following: BSTR tagUrn; onbeforeeditfocus property of IHTMLElement2 interface. An original IDL definition of onbeforeeditfocus property was the following: VARIANT onbeforeeditfocus; readyStateValue property of IHTMLElement2 interface. An original IDL definition of readyStateValue property was the following: long readyStateValue; This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This interface is for internal use only. bottom property of IHTMLRect interface. An original IDL definition of bottom property was the following: long bottom; left property of IHTMLRect interface. An original IDL definition of left property was the following: long left; right property of IHTMLRect interface. An original IDL definition of right property was the following: long right; top property of IHTMLRect interface. An original IDL definition of top property was the following: long top; This interface is for internal use only. item method of IHTMLRectCollection interface. An original IDL definition of item method was the following: HRESULT item ([in] VARIANT* pvarIndex, [out, retval] VARIANT* ReturnValue); _newEnum property of IHTMLRectCollection interface. An original IDL definition of _newEnum property was the following: IUnknown* _newEnum; length property of IHTMLRectCollection interface. An original IDL definition of length property was the following: long length; This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. IHTMLStyle interface. setAttribute method of IHTMLStyle interface. An original IDL definition of setAttribute method was the following: HRESULT setAttribute (BSTR strAttributeName, VARIANT AttributeValue, [optional, defaultvalue(1)] long lFlags); getAttribute method of IHTMLStyle interface. An original IDL definition of getAttribute method was the following: HRESULT getAttribute (BSTR strAttributeName, [optional, defaultvalue(0)] long lFlags, [out, retval] VARIANT* ReturnValue); removeAttribute method of IHTMLStyle interface. An original IDL definition of removeAttribute method was the following: HRESULT removeAttribute (BSTR strAttributeName, [optional, defaultvalue(1)] long lFlags, [out, retval] VARIANT_BOOL* ReturnValue); toString method of IHTMLStyle interface. An original IDL definition of toString method was the following: HRESULT toString ([out, retval] BSTR* ReturnValue); background property of IHTMLStyle interface. An original IDL definition of background property was the following: BSTR background; backgroundAttachment property of IHTMLStyle interface. An original IDL definition of backgroundAttachment property was the following: BSTR backgroundAttachment; backgroundColor property of IHTMLStyle interface. An original IDL definition of backgroundColor property was the following: VARIANT backgroundColor; backgroundImage property of IHTMLStyle interface. An original IDL definition of backgroundImage property was the following: BSTR backgroundImage; backgroundPosition property of IHTMLStyle interface. An original IDL definition of backgroundPosition property was the following: BSTR backgroundPosition; backgroundPositionX property of IHTMLStyle interface. An original IDL definition of backgroundPositionX property was the following: VARIANT backgroundPositionX; backgroundPositionY property of IHTMLStyle interface. An original IDL definition of backgroundPositionY property was the following: VARIANT backgroundPositionY; backgroundRepeat property of IHTMLStyle interface. An original IDL definition of backgroundRepeat property was the following: BSTR backgroundRepeat; border property of IHTMLStyle interface. An original IDL definition of border property was the following: BSTR border; borderBottom property of IHTMLStyle interface. An original IDL definition of borderBottom property was the following: BSTR borderBottom; borderBottomColor property of IHTMLStyle interface. An original IDL definition of borderBottomColor property was the following: VARIANT borderBottomColor; borderBottomStyle property of IHTMLStyle interface. An original IDL definition of borderBottomStyle property was the following: BSTR borderBottomStyle; borderBottomWidth property of IHTMLStyle interface. An original IDL definition of borderBottomWidth property was the following: VARIANT borderBottomWidth; borderColor property of IHTMLStyle interface. An original IDL definition of borderColor property was the following: BSTR borderColor; borderLeft property of IHTMLStyle interface. An original IDL definition of borderLeft property was the following: BSTR borderLeft; borderLeftColor property of IHTMLStyle interface. An original IDL definition of borderLeftColor property was the following: VARIANT borderLeftColor; borderLeftStyle property of IHTMLStyle interface. An original IDL definition of borderLeftStyle property was the following: BSTR borderLeftStyle; borderLeftWidth property of IHTMLStyle interface. An original IDL definition of borderLeftWidth property was the following: VARIANT borderLeftWidth; borderRight property of IHTMLStyle interface. An original IDL definition of borderRight property was the following: BSTR borderRight; borderRightColor property of IHTMLStyle interface. An original IDL definition of borderRightColor property was the following: VARIANT borderRightColor; borderRightStyle property of IHTMLStyle interface. An original IDL definition of borderRightStyle property was the following: BSTR borderRightStyle; borderRightWidth property of IHTMLStyle interface. An original IDL definition of borderRightWidth property was the following: VARIANT borderRightWidth; borderStyle property of IHTMLStyle interface. An original IDL definition of borderStyle property was the following: BSTR borderStyle; borderTop property of IHTMLStyle interface. An original IDL definition of borderTop property was the following: BSTR borderTop; borderTopColor property of IHTMLStyle interface. An original IDL definition of borderTopColor property was the following: VARIANT borderTopColor; borderTopStyle property of IHTMLStyle interface. An original IDL definition of borderTopStyle property was the following: BSTR borderTopStyle; borderTopWidth property of IHTMLStyle interface. An original IDL definition of borderTopWidth property was the following: VARIANT borderTopWidth; borderWidth property of IHTMLStyle interface. An original IDL definition of borderWidth property was the following: BSTR borderWidth; clear property of IHTMLStyle interface. An original IDL definition of clear property was the following: BSTR clear; clip property of IHTMLStyle interface. An original IDL definition of clip property was the following: BSTR clip; color property of IHTMLStyle interface. An original IDL definition of color property was the following: VARIANT color; cssText property of IHTMLStyle interface. An original IDL definition of cssText property was the following: BSTR cssText; cursor property of IHTMLStyle interface. An original IDL definition of cursor property was the following: BSTR cursor; display property of IHTMLStyle interface. An original IDL definition of display property was the following: BSTR display; filter property of IHTMLStyle interface. An original IDL definition of filter property was the following: BSTR filter; font property of IHTMLStyle interface. An original IDL definition of font property was the following: BSTR font; fontFamily property of IHTMLStyle interface. An original IDL definition of fontFamily property was the following: BSTR fontFamily; fontSize property of IHTMLStyle interface. An original IDL definition of fontSize property was the following: VARIANT fontSize; fontStyle property of IHTMLStyle interface. An original IDL definition of fontStyle property was the following: BSTR fontStyle; fontVariant property of IHTMLStyle interface. An original IDL definition of fontVariant property was the following: BSTR fontVariant; fontWeight property of IHTMLStyle interface. An original IDL definition of fontWeight property was the following: BSTR fontWeight; height property of IHTMLStyle interface. An original IDL definition of height property was the following: VARIANT height; left property of IHTMLStyle interface. An original IDL definition of left property was the following: VARIANT left; letterSpacing property of IHTMLStyle interface. An original IDL definition of letterSpacing property was the following: VARIANT letterSpacing; lineHeight property of IHTMLStyle interface. An original IDL definition of lineHeight property was the following: VARIANT lineHeight; listStyle property of IHTMLStyle interface. An original IDL definition of listStyle property was the following: BSTR listStyle; listStyleImage property of IHTMLStyle interface. An original IDL definition of listStyleImage property was the following: BSTR listStyleImage; listStylePosition property of IHTMLStyle interface. An original IDL definition of listStylePosition property was the following: BSTR listStylePosition; listStyleType property of IHTMLStyle interface. An original IDL definition of listStyleType property was the following: BSTR listStyleType; margin property of IHTMLStyle interface. An original IDL definition of margin property was the following: BSTR margin; marginBottom property of IHTMLStyle interface. An original IDL definition of marginBottom property was the following: VARIANT marginBottom; marginLeft property of IHTMLStyle interface. An original IDL definition of marginLeft property was the following: VARIANT marginLeft; marginRight property of IHTMLStyle interface. An original IDL definition of marginRight property was the following: VARIANT marginRight; marginTop property of IHTMLStyle interface. An original IDL definition of marginTop property was the following: VARIANT marginTop; overflow property of IHTMLStyle interface. An original IDL definition of overflow property was the following: BSTR overflow; padding property of IHTMLStyle interface. An original IDL definition of padding property was the following: BSTR padding; paddingBottom property of IHTMLStyle interface. An original IDL definition of paddingBottom property was the following: VARIANT paddingBottom; paddingLeft property of IHTMLStyle interface. An original IDL definition of paddingLeft property was the following: VARIANT paddingLeft; paddingRight property of IHTMLStyle interface. An original IDL definition of paddingRight property was the following: VARIANT paddingRight; paddingTop property of IHTMLStyle interface. An original IDL definition of paddingTop property was the following: VARIANT paddingTop; pageBreakAfter property of IHTMLStyle interface. An original IDL definition of pageBreakAfter property was the following: BSTR pageBreakAfter; pageBreakBefore property of IHTMLStyle interface. An original IDL definition of pageBreakBefore property was the following: BSTR pageBreakBefore; pixelHeight property of IHTMLStyle interface. An original IDL definition of pixelHeight property was the following: long pixelHeight; pixelLeft property of IHTMLStyle interface. An original IDL definition of pixelLeft property was the following: long pixelLeft; pixelTop property of IHTMLStyle interface. An original IDL definition of pixelTop property was the following: long pixelTop; pixelWidth property of IHTMLStyle interface. An original IDL definition of pixelWidth property was the following: long pixelWidth; posHeight property of IHTMLStyle interface. An original IDL definition of posHeight property was the following: float posHeight; position property of IHTMLStyle interface. An original IDL definition of position property was the following: BSTR position; posLeft property of IHTMLStyle interface. An original IDL definition of posLeft property was the following: float posLeft; posTop property of IHTMLStyle interface. An original IDL definition of posTop property was the following: float posTop; posWidth property of IHTMLStyle interface. An original IDL definition of posWidth property was the following: float posWidth; styleFloat property of IHTMLStyle interface. An original IDL definition of styleFloat property was the following: BSTR styleFloat; textAlign property of IHTMLStyle interface. An original IDL definition of textAlign property was the following: BSTR textAlign; textDecoration property of IHTMLStyle interface. An original IDL definition of textDecoration property was the following: BSTR textDecoration; textDecorationBlink property of IHTMLStyle interface. An original IDL definition of textDecorationBlink property was the following: VARIANT_BOOL textDecorationBlink; textDecorationLineThrough property of IHTMLStyle interface. An original IDL definition of textDecorationLineThrough property was the following: VARIANT_BOOL textDecorationLineThrough; textDecorationNone property of IHTMLStyle interface. An original IDL definition of textDecorationNone property was the following: VARIANT_BOOL textDecorationNone; textDecorationOverline property of IHTMLStyle interface. An original IDL definition of textDecorationOverline property was the following: VARIANT_BOOL textDecorationOverline; textDecorationUnderline property of IHTMLStyle interface. An original IDL definition of textDecorationUnderline property was the following: VARIANT_BOOL textDecorationUnderline; textIndent property of IHTMLStyle interface. An original IDL definition of textIndent property was the following: VARIANT textIndent; textTransform property of IHTMLStyle interface. An original IDL definition of textTransform property was the following: BSTR textTransform; top property of IHTMLStyle interface. An original IDL definition of top property was the following: VARIANT top; verticalAlign property of IHTMLStyle interface. An original IDL definition of verticalAlign property was the following: VARIANT verticalAlign; visibility property of IHTMLStyle interface. An original IDL definition of visibility property was the following: BSTR visibility; whiteSpace property of IHTMLStyle interface. An original IDL definition of whiteSpace property was the following: BSTR whiteSpace; width property of IHTMLStyle interface. An original IDL definition of width property was the following: VARIANT width; wordSpacing property of IHTMLStyle interface. An original IDL definition of wordSpacing property was the following: VARIANT wordSpacing; zIndex property of IHTMLStyle interface. An original IDL definition of zIndex property was the following: VARIANT zIndex; This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. IHTMLTxtRange interface. parentElement method of IHTMLTxtRange interface. An original IDL definition of parentElement method was the following: HRESULT parentElement ([out, retval] IHTMLElement** ReturnValue); duplicate method of IHTMLTxtRange interface. An original IDL definition of duplicate method was the following: HRESULT duplicate ([out, retval] IHTMLTxtRange** ReturnValue); inRange method of IHTMLTxtRange interface. An original IDL definition of inRange method was the following: HRESULT inRange (IHTMLTxtRange* range, [out, retval] VARIANT_BOOL* ReturnValue); isEqual method of IHTMLTxtRange interface. An original IDL definition of isEqual method was the following: HRESULT isEqual (IHTMLTxtRange* range, [out, retval] VARIANT_BOOL* ReturnValue); scrollIntoView method of IHTMLTxtRange interface. An original IDL definition of scrollIntoView method was the following: HRESULT scrollIntoView ([optional, defaultvalue(-1)] VARIANT_BOOL fStart); collapse method of IHTMLTxtRange interface. An original IDL definition of collapse method was the following: HRESULT collapse ([optional, defaultvalue(-1)] VARIANT_BOOL Start); expand method of IHTMLTxtRange interface. An original IDL definition of expand method was the following: HRESULT expand (BSTR Unit, [out, retval] VARIANT_BOOL* ReturnValue); move method of IHTMLTxtRange interface. An original IDL definition of move method was the following: HRESULT move (BSTR Unit, [optional, defaultvalue(1)] long Count, [out, retval] long* ReturnValue); moveStart method of IHTMLTxtRange interface. An original IDL definition of moveStart method was the following: HRESULT moveStart (BSTR Unit, [optional, defaultvalue(1)] long Count, [out, retval] long* ReturnValue); moveEnd method of IHTMLTxtRange interface. An original IDL definition of moveEnd method was the following: HRESULT moveEnd (BSTR Unit, [optional, defaultvalue(1)] long Count, [out, retval] long* ReturnValue); select method of IHTMLTxtRange interface. An original IDL definition of select method was the following: HRESULT select (void); pasteHTML method of IHTMLTxtRange interface. An original IDL definition of pasteHTML method was the following: HRESULT pasteHTML (BSTR html); moveToElementText method of IHTMLTxtRange interface. An original IDL definition of moveToElementText method was the following: HRESULT moveToElementText (IHTMLElement* element); setEndPoint method of IHTMLTxtRange interface. An original IDL definition of setEndPoint method was the following: HRESULT setEndPoint (BSTR how, IHTMLTxtRange* SourceRange); compareEndPoints method of IHTMLTxtRange interface. An original IDL definition of compareEndPoints method was the following: HRESULT compareEndPoints (BSTR how, IHTMLTxtRange* SourceRange, [out, retval] long* ReturnValue); findText method of IHTMLTxtRange interface. An original IDL definition of findText method was the following: HRESULT findText (BSTR String, [optional, defaultvalue(1073741823)] long Count, [optional, defaultvalue(0)] long Flags, [out, retval] VARIANT_BOOL* ReturnValue); moveToPoint method of IHTMLTxtRange interface. An original IDL definition of moveToPoint method was the following: HRESULT moveToPoint (long x, long y); getBookmark method of IHTMLTxtRange interface. An original IDL definition of getBookmark method was the following: HRESULT getBookmark ([out, retval] BSTR* ReturnValue); moveToBookmark method of IHTMLTxtRange interface. An original IDL definition of moveToBookmark method was the following: HRESULT moveToBookmark (BSTR Bookmark, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandSupported method of IHTMLTxtRange interface. An original IDL definition of queryCommandSupported method was the following: HRESULT queryCommandSupported (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandEnabled method of IHTMLTxtRange interface. An original IDL definition of queryCommandEnabled method was the following: HRESULT queryCommandEnabled (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandState method of IHTMLTxtRange interface. An original IDL definition of queryCommandState method was the following: HRESULT queryCommandState (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandIndeterm method of IHTMLTxtRange interface. An original IDL definition of queryCommandIndeterm method was the following: HRESULT queryCommandIndeterm (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); queryCommandText method of IHTMLTxtRange interface. An original IDL definition of queryCommandText method was the following: HRESULT queryCommandText (BSTR cmdID, [out, retval] BSTR* ReturnValue); queryCommandValue method of IHTMLTxtRange interface. An original IDL definition of queryCommandValue method was the following: HRESULT queryCommandValue (BSTR cmdID, [out, retval] VARIANT* ReturnValue); execCommand method of IHTMLTxtRange interface. An original IDL definition of execCommand method was the following: HRESULT execCommand (BSTR cmdID, [optional, defaultvalue(0)] VARIANT_BOOL showUI, [optional] VARIANT value, [out, retval] VARIANT_BOOL* ReturnValue); execCommandShowHelp method of IHTMLTxtRange interface. An original IDL definition of execCommandShowHelp method was the following: HRESULT execCommandShowHelp (BSTR cmdID, [out, retval] VARIANT_BOOL* ReturnValue); htmlText property of IHTMLTxtRange interface. An original IDL definition of htmlText property was the following: BSTR htmlText; text property of IHTMLTxtRange interface. An original IDL definition of text property was the following: BSTR text; This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This interface is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This interface is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This method is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. For internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This member is for internal use only. For internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This type is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. This member is for internal use only. Represents a toolstrip color picker which performs a command in a linked control. Use this class to add a -related color picker to a ToolStrip. The following code example demonstrates how to create a and add it to a . C1EditorToolStripColorPicker colorPicker = new C1EditorToolStripColorPicker(); colorPicker.Command = CommandColorPicker.ForeColor; colorPicker.Editor = c1Editor1; toolStrip1.Items.Add(colorPicker); Occurs when the command is changed. Occurs when the editor is changing. Occurs when the editor is changed. Gets or sets the command. Gets or sets the editor. Represents a toolstrip split button which performs a command in a linked control. Use this class to add a -related split button to a ToolStrip. The following code example demonstrates how to create a and add it to a . C1EditorToolStripSplitButton button = new C1EditorToolStripSplitButton(); button.Command = CommandSplitButton.Border; button.Editor = c1Editor1; toolStrip1.Items.Add(button); Occurs when the command is changed. Occurs when the editor is changing. Occurs when the editor is changed. Overrides OnButtonClick. Overrides OnDropDownItemClicked. Overrides OnPaint. Gets or sets the command. Gets or sets the editor. Gets or sets a value indicating whether the button is in the checked state. Specifies the command used in a . The CommandButton enumeration is used by the to set associated with the command text, tooltip and image. The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled. The following code example demonstrates how to create a and add it to a . C1EditorToolStripButton button = new C1EditorToolStripButton(); button.Command = CommandButton.ClearFormatting; button.Editor = c1Editor1; toolStrip1.Items.Add(button); Empty command. Bold. Italic. Underline. Strikethrough. Subscript. Superscript. Clear formatting. Left. Center. Right. Justify. Big font. Small font. New file. Open file. Save file. Print. Cut. Copy. Paste. Undo. Redo. Select all. Find. Replace. Design view. Source view. Preview. New table. Insert row above. Insert row below. Insert column before. Insert column after. Table properties. Row properties. Column properties. Cell properties. Delete table. Delete row. Delete column. Picture. Hyperlink. Bookmark. FlashMovie. Numbered list. Bulleted list. Increase indent. Decrease indent. Adds comment. Replies to the comment. Deletes the current comment. Deletes all comments. Moves to the previous comment. Moves to the next comment. Shows comments. Specifies the command used in a . The CommandSplitButton enumeration is used by the to set associated with the command text, tooltip, image, and menu items. The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled. The following code example demonstrates how to create a and add it to a . C1EditorToolStripSplitButton button = new C1EditorToolStripSplitButton(); button.Command = CommandSplitButton.Border; button.Editor = c1Editor1; toolStrip1.Items.Add(button); Empty command. Border Specifies the command used in a . The CommandComboBox enumeration is used by the to set items associated with the command. The following code example demonstrates how to create a and add it to a . C1EditorToolStripComboBox comboBox = new C1EditorToolStripComboBox(); comboBox.Command = CommandComboBox.Style; comboBox.Editor = c1Editor1; toolStrip1.Items.Add(comboBox); Empty command. Style combo box. Font family combo box. Font size combo box. Specifies the command used in a . The CommandComboBox enumeration is used by the to set items associated with the command. The following code example demonstrates how to create a and add it to a . C1EditorToolStripColorPicker colorPicker = new C1EditorToolStripColorPicker(); colorPicker.Command = CommandColorPicker.ForeColor; colorPicker.Editor = c1Editor1; toolStrip1.Items.Add(colorPicker); Empty command. Text color. Background color. Paragraph background color. Implements the basic functionality common to -related toolstrips. This class is abstract. To create your own -related toolstrip, inherit from the C1EditorToolStripBase class. Override to add items to the toolstrip. Use to add a button of type. Use to add a combo box of type. The following code example demonstrates how to create and use a custom toolstrip that has Style combo box and Undo, Redo buttons. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddComboBox(CommandComboBox.Style); AddButton(CommandButton.Undo); AddButton(CommandButton.Redo); } } private void Form1_Load(object sender, EventArgs e) { MyToolStrip myToolStrip = new MyToolStrip(); myToolStrip.Editor = c1Editor1; this.Controls.Add(myToolStrip); } Creates an instance of C1EditorToolStripBase class. Adds default items to the toolstrip. The OnInitialize method allows derived classes to define their own set of default items. The following code example demonstrates how to create a custom toolstrip that has Style combo box and Undo, Redo buttons. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddComboBox(CommandComboBox.Style); AddButton(CommandButton.Undo); AddButton(CommandButton.Redo); } } Adds a button to the toolstrip. The command assigned to the button. The new button. The AddButton method allows inheritors to add a button of the class to the toolstrip. The following code example demonstrates how to create a custom toolstrip that has Style combo box and Undo, Redo buttons. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddComboBox(CommandComboBox.Style); AddButton(CommandButton.Undo); AddButton(CommandButton.Redo); } } Adds a combo box to the toolstrip. The command assigned to the button. The new combo box. The AddComboBox method allows inheritors to add a button of the class to the toolstrip. The following code example demonstrates how to create a custom toolstrip that has Style combo box and Undo, Redo buttons. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddComboBox(CommandComboBox.Style); AddButton(CommandButton.Undo); AddButton(CommandButton.Redo); } } Adds a color picker to the toolstrip. The command assigned to the color picker. The new combo box. The AddColorPicker method allows inheritors to add a control of the class to the toolstrip. The following code example demonstrates how to create a custom toolstrip that has Background color button. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddColorPicker(CommandColorPicker.BackColor); } } Adds a split button to the toolstrip. The command assigned to the split button. The new split button. The AddSplitButton method allows inheritors to add a split button of the class to the toolstrip. The following code example demonstrates how to create a custom toolstrip that has Border split button. public class MyToolStrip : C1EditorToolStripBase { protected override void OnInitialize() { AddSplitButton(CommandSplitButton.Border); } } Gets or sets the control. Set this property to a value to link a descendant of C1EditorToolStripBase type with the control. The following code example demonstrates how to use Editor property to link a to a . private void Form1_Load(object sender, EventArgs e) { C1EditorToolStripStyle toolStrip = new C1EditorToolStripStyle(); toolStrip.Editor = c1Editor1; this.Controls.Add(toolStrip); } Overrides ToolStrip.Items. Represents a toolstrip button which performs a command in a linked control. Use this class to add a -related button to a ToolStrip. The following code example demonstrates how to create a and add it to a . C1EditorToolStripButton button = new C1EditorToolStripButton(); button.Command = CommandButton.ClearFormatting; button.Editor = c1Editor1; toolStrip1.Items.Add(button); Occurs when the command is changed. Occurs when the editor is changing. Occurs when the editor is changed. Overrides OnClick. Gets or sets the command. Gets or sets the editor. Represents a toolstrip combo box which performs a command. Use this class to add a -related ComboBox to a ToolStrip. The following code example demonstrates how to create a and add it to a . C1EditorToolStripComboBox comboBox = new C1EditorToolStripComboBox(); comboBox.Command = CommandComboBox.Style; comboBox.Editor = c1Editor1; toolStrip1.Items.Add(comboBox); [ToolboxItem(false)] Occurs when command is changed. Occurs when the editor is changing. Occurs when the editor is changed. Overrides OnLostFocus. Overrides OnSelectedIndexChanged. Overrides OnKeyDown. The command. The editor. Represents a toolstrip with the common commands, such as file, clipboard, history, etc. Adds buttons to the ToolStrip. You don't need to use this method. Represents a toolstrip of new object commands. Adds buttons to the ToolStrip. You don't need to use this method. Represents a text style toolstrip. Adds buttons to the ToolStrip. You don't need to use this method. Represents a text style toolstrip. Adds buttons to the ToolStrip. You don't need to use this method. Represents a toolstrip of table commands. Adds buttons to the ToolStrip. You don't need to use this method. Defines the behavior of the . EditorMode is used by the property. Design is the main mode of the editor. in this mode represents a WYSIWYG XHTML editor. Source mode allows you to edit XHTML markup. Preview mode allows you to preview how the document will look. Represents the type of dialog box to show in the . New table dialog box. Insert or edit image dialog box. Insert or edit Flash movie dialog box. Insert or edit hyperlink dialog box. Insert or edit bookmark dialog box. Find dialog box. Replace dialog box. Text formatting dialog box. Page setup dialog box. Specifies the types of content to which the inline style will be applied. Style is applied only to characters in the range. Style is applied only to whole paragraphs containing the text range. Style is applied only to tables containing the range. Style is applied only to lists containing the range. Style is applied to any kind of content. Specifies the kind of move requested in a method call. Move by characters. Move the pointer to the beginning of the next word. Move the pointer to the end of the next word. Specifies the kind of an HTML event in event arguments of the event. Unknown event type. HTML event when the user presses the F1 key while the client is the active window. HTML event when the user clicks the left mouse button on the object. HTML event when the user double-clicks the object. HTML event when the user presses a key. HTML event when the user releases a key. HTML event when the user presses an alphanumeric key. HTML event when the user clicks the object with either mouse button. HTML event when the user releases a mouse button while the mouse is over the object. HTML event when the user moves the mouse over the object. HTML event when the user moves the mouse pointer into the object. HTML event when the user moves the mouse pointer outside the boundaries of the object. HTML event when the state of the object has changed. HTML event on a databound object before updating the associated data in the data source object. HTML event on a databound object after successfully updating the associated data in the data source object. HTML event just before the data source control changes the current row in the object. HTML event to indicate that the current row has changed in the data source and new data values are available on the object. HTML event on the source object when the user starts to drag a text selection or selected object. HTML event when the object is being selected. HTML event on a databound object when an error occurs while updating the associated data in the data source object. HTML event when the user clicks the right mouse button in the client area, opening the context menu. HTML event when the user clicks the Stop button or leaves the document. HTML event when rows are about to be deleted from the recordset. HTML event just after new rows are inserted in the current recordset. HTML event when data changes in the data provider. HTML event when a property changes on the object. HTML event when the data set exposed by a data source object changes. HTML event periodically as data arrives from data source objects that asynchronously transmit their data. HTML event to indicate that all data is available from the data source object. HTML event before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected. HTML event when the selection state of a document changes. HTML event when the user is about to make a control selection of the object. HTML event when the wheel button is rotated. event for an element just prior to setting focus on that element. HTML event for the current element with focus immediately after moving focus to another element. HTML event when the object is set as the active element. HTML event when the activeElement is changed from the current object to another object in the parent document. HTML event immediately before the object is set as the active element. HTML event immediately before the activeElement is changed from the current object to another object in the parent document.