Class HTMLScript
Inherits Script class. The Script class encapsulates the script source code, the reference and global items (the IVsaItem instances) that the .NET script engine expects to be initialized with.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public class HTMLScript : Script, ISerializable
Constructors
HTMLScript()
Initializes a new instance of the HTMLScript class
Declaration
public HTMLScript()
HTMLScript(BaseElement)
Initializes a new instance of the HTMLScript class
Declaration
public HTMLScript(BaseElement element)
Parameters
Type | Name | Description |
---|---|---|
BaseElement | element | Owner of the script code. |
HTMLScript(SerializationInfo, StreamingContext)
Initializes a new instance of the HTMLScript class
Declaration
protected HTMLScript(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Holds all data for serialization / deserialization object. |
System.Runtime.Serialization.StreamingContext | context | Describes source and destination of serialization. |
Fields
DEF_ASSEMBLIES
List of assemblies attached automatically to the engine on execution.
Declaration
public static readonly string[] DEF_ASSEMBLIES
Field Value
Type |
---|
System.String[] |
Methods
OnSourceTextChanged(ScriptEventArgs)
Overridden. Triggers when the source is changed.
Declaration
protected override void OnSourceTextChanged(ScriptEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
ScriptEventArgs | evtArgs | Event arguments. |
Overrides
Implements
System.Runtime.Serialization.ISerializable