Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

EnableHtmlAccess

Silverlight

Gets a value that indicates whether the hosted content in the Silverlight plug-in has access to the browser Document Object Model (DOM).

booleanValue = silverlightObject.settings.EnableHtmlAccess

Type: Boolean

true if the hosted content has access to the browser DOM; otherwise, false.

This property is available on the settings subobject of a Silverlight plug-in instance.

In the JavaScript API, you always have access to the HTML DOM, and the value of this property is ignored.

The script syntax shown is for using the EnableHtmlAccess property at run time. You can also set the property during initiation, using either object param syntax or the silverlight.js helper functions. See EnableHtmlAccess (Silverlight Plug-in Object).

Community Additions

ADD
Show:
© 2015 Microsoft