System.Windows.Forms.HtmlElement.OffsetParent Property

Gets the element from which HtmlElement.OffsetRectangle is calculated.

Syntax

public HtmlElement OffsetParent { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Elements can be positioned on an HTML page in one of three ways: default flow positioning; relative positioning, in which the element is offset by a fixed amount relative to its parent; and absolute positioning, in which the element is given a fixed coordinate position relative to the upper-left corner of the document.

When a document's elements use relative or absolute positioning, you can use OffsetParent to calculate an element's coordinate position in the client area.

For more information about element positioning in HTML, see tp://msdn.microsoft.com/en-us/library/ms533005.aspx.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0