Freigeben über


IHTMLElementDefaults interface

This interface provides the ability to programmatically set default properties on an element behavior.

Members

The IHTMLElementDefaults interface inherits from the IDispatch interface. IHTMLElementDefaults also has these types of members:

  • Properties

Properties

The IHTMLElementDefaults interface has these properties.

Property Description

canHaveHTML

Retrieves the value indicating whether the object can contain rich HTML markup.

contentEditable

Sets or retrieves the string that indicates whether the user can edit the content of the object.

frozen

isMultiLine

Retrieves the value indicating whether the content of the object contains one or more lines.

scrollSegmentX

scrollSegmentY

style

Retrieves the inline stylesheet for the element.

tabStop

Sets or retrieves whether an element behavior can receive focus and participate in the tabbing sequence.

viewInheritStyle

Sets or retrieves a value that indicates whether the document fragment inherits the CSS styles set in the primary document.

viewLink

Sets or retrieves the document object that supplies content to the master element.

viewMasterTab

Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.

This property is not supported for Windows apps using JavaScript.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Conceptual

About Element Behaviors

Introduction to Viewlink