menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HTMLScript - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    Script
    HTMLScript
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    Script.AddEventSource(String, String)
    Script.AddGlobalInstance(String, String)
    Script.AddReference(AssemblyDescriptor)
    Script.AssemblyReferences
    Script.Changed
    Script.ContainsEventSource(String)
    Script.ContainsGlobalInstance(String)
    Script.ContainsReference(AssemblyDescriptor)
    Script.DEFAULT_ASSEMBLIES
    Script.EntryPoint
    Script.EventsEnabled
    Script.EventSources
    Script.GetEventSources(ScriptObjectCollection)
    Script.GetGlobalInstances(ScriptObjectCollection)
    Script.GetObjectData(SerializationInfo, StreamingContext)
    Script.GetReferences(AssemblyDescriptorCollection)
    Script.GlobalInstances
    Script.InvokeMethod(IVsaEngine, String)
    Script.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    Script.Language
    Script.LoadScriptEngineItems(IVsaEngine)
    Script.LoadSource(Stream)
    Script.LoadSourceFile(String)
    Script.Name
    Script.OnChanged(ScriptEventArgs)
    Script.PutEventSources(ScriptObjectCollection)
    Script.PutGlobalInstances(ScriptObjectCollection)
    Script.PutReferences(AssemblyDescriptorCollection)
    Script.RootMoniker
    Script.RootNamespace
    Script.SaveSourceFile(String)
    Script.ScriptStartCall
    Script.ScriptStopCall
    Script.SetNameFromSource
    Script.SourceText
    Script.ToString()
    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
    Script.OnSourceTextChanged(ScriptEventArgs)

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved