SVGGraphicsElement.NearestViewportElement

SVGGraphicsElement.NearestViewportElement property

The element which established the current viewport. Often, the nearest ancestor ‘svg’ element. Null if the current element is the outermost svg element.

public SVGElement NearestViewportElement { get; }

Property Value

The nearest viewport element.

See Also