ScriptableMemberAttribute.EnableCreateableTypes Property

Controls the generation of Silverlight plug-in helper methods that can be used to create wrappers around managed objects.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)


Public Property EnableCreateableTypes As Boolean
public bool EnableCreateableTypes { get; set; }

Property Value

Type: System.Boolean
true if the HTML bridge feature should automatically generate helper methods in the scope of the registered scriptable type; otherwise, false. The default is true.


By default, the HTML Bridge exposes helper methods. These methods can be used to return managed wrappers around managed types that are used as input values or return parameters in the scope of the registered scriptable entry point.

If you set this property to false, you must use the RegisterCreateableType method and the Silverlight plug-in's and methods to create script wrappers for managed types.

Version Information


Supported in: 5, 4, 3


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.