Syncfusion.Scripting.Windows
omputes the string size that should be passed to a typical Win32 call.
his will be the character count under NT, and the ubyte count for Win95.
he string to get the size of.
he count of characters or bytes, depending on what the pinvoke
all wants
Interop call to get the LCID of the current culture.
Represents item for error listBox
Line number where occuring error
Column where occuring error
The error message
Disabled default constructor.
Initialized class properties.
Error Message
Error line
Error colum number
Returns the error message associated with this .
A string containing the error message.
Provides data for a tree node double-click event.
The node name.
The tag container which attached to node.
Gets node name.
The node name.
Gets node tag container.
The tag container associated with the node.
Disabled default constructor
Initializes a new instance of the NodeDoubleClickEventArgs class.
The name of the node that was double-clicked.
The TagContainer associated with the node.
Represents the method that will handle a node double-click event.
The source of the event.
An object that contains the event data.
Indicated a node type which must be created.
For creating "object" type of tree node.
For creating "property" type of tree node.
For creating "item" type of tree node.
For creating "event" type of tree node.
Already created event handler.
Represents metadata associated with a tree node in the script editor.
Gets the property or value associated with the node.
The property or value associated with the node.
Gets the event metadata associated with the node.
The event metadata for the node.
Gets the display name of the node.
The display name.
Gets the type of the node.
The node type.
Initializes a new instance of the class for non-event nodes.
The property or object associated with the node.
The display name of the node.
The type of the node. Must not be or .
Thrown when is or for this constructor.
Initializes a new instance of the class for event-related nodes.
The describing the event.
The display name of the node.
The type of the node. Must be or .
Thrown when is not or for this constructor.
Represents a tag container specialized for event-related nodes and handlers.
Gets or sets the fully qualified class name that contains the event handler.
The fully qualified class name that contains the event handler.
Initializes a new instance of the class.
The describing the event.
The display name of the node.
The type of the node. Must be or .
Provides a cache for resolving instances from loaded assemblies by fully qualified type name.
Gets the for the specified fully qualified type name by probing loaded assemblies and caching the result.
The fully qualified type name to resolve.
The resolved , or null if the type cannot be found.
Script Engine control. Support writing multi-language script.
Minimal height for hiding box.
Minimal width for hiding box.
Default height for expand ErrorMessage window.
Send when script is changed.
Defines the namespace for the generated script code.
Holds assembly directive text (e.g., using/imports) for the script.
Global code snippet injected into the generated script.
Script initialization code inserted into the wrapper’s start section.
Script cleanup code inserted into the wrapper’s stop section.
Cache for type lookups by name across loaded assemblies.
Scripting manager responsible for compiling and running scripts.
Indicates whether compilation is delegated to an external manager.
Indicates whether execution is delegated to an external manager.
Tracks whether the editor has unsaved changes.
Gets or sets the display name of the script.
Gets or sets the scripting language used by the editor.
Gets the base class type used when generating wrapper code for the script.
Gets or sets the root moniker that uniquely identifies the script instance.
Gets or sets the unique root moniker used to identify the script instance.
Gets or sets the root namespace to use in generated wrapper code.
Gets or sets the root namespace used in generated wrapper code.
Gets or sets the entry point method name to invoke when running the script.
Gets or sets the entry point method name to invoke when running the script.
Gets or sets script source code.
Gets or sets the current script source code displayed in the editor.
Gets or sets the Script object that contains the source and its metadata.
Gets or sets the object that encapsulates the source code and metadata.
Gets or sets the currently selected scriptable object in the object browser.
Gets or sets the currently selected object in the object browser.
Gets the collection of assembly reference paths configured for the script.
Indicates if the ScriptingManager is being used for external compilation of the script.
Gets or sets a value indicating whether the editor will delegate compilation to an external instance.
Gets or sets a value indicating whether running the script is handled externally.
Enabling this option also enables external compilation.
Gets or sets a value indicating whether the editor will delegate script execution to an external instance.
Enabling this option also enables external compilation.
Gets or sets the scripting manager used to compile and execute scripts.
Gets or sets the scripting manager used to compile and execute the script.
Gets a value indicating whether the editor contains unsaved changes.
Provides a user control host for editing multi-language scripts with object browser integration.
Initializes a new instance of the class.
Releases unmanaged resources and optionally releases managed resources.
True to release both managed and unmanaged resources; false to release only unmanaged resources.
Initializes the component and its child controls.
Updates the enabled state of the compile-related buttons based on the current configuration.
Adds a scriptable object to the object browser and exposes it to the script.
The object to expose to the script.
Thrown when is null.
Removes a previously added scriptable object from the editor.
The object to remove.
Creates a new blank script document in the editor.
Gets a file dialog filter string that matches the specified scripting language.
The scripting language.
A filter string for selecting files of that language.
Saves the current script to disk as source code or as an Essential Suite Scripting (.ess) file.
Saves the script to disk either as source code or as an Essential Suite scripting file.
Opens a script file from disk and loads it into the editor.
Opens a script file from disk and loads it into the editor.
Compiles the current script using the configured scripting manager.
True if compilation succeeded; otherwise, false.
Compiles the current script using the configured scripting manager.
true if compilation succeeds; otherwise, false.
Runs the compiled script using the external scripting manager.
Executes the compiled script using the configured scripting manager.
Stops the running script and resets the scripting engine.
Stops the running script and resets the scripting engine.
Handles compile errors raised by the scripting manager and populates the error list.
The event source.
The error data provided by the scripting manager.
Handles toolbar button clicks and executes the associated command.
The event source.
The event data.
Saves the current script when the Save Script menu item is selected.
The event source.
The event data.
Prompts the user to save the current script under a different name.
The event source.
The event data.
Handles changes to the selected scripting language.
The event source.
The event data.
Updates the selected object in the browser when a new item is chosen from the combo box.
The event source.
The event data.
Synchronizes toolbar toggle states when dock visibility changes.
The event source.
The event data.
Navigates the editor to the line and column referenced by the selected error message.
The event source.
The event data.
Toggles whether toolbar button tooltips and text are displayed.
The event source.
The event data.
Marks the document as dirty when the editor text changes and raises the event.
The event source.
The event data.
Handles double-clicks in the object browser to insert event handler code.
The event source.
Information about the double-clicked node.
Called when the scripting language changes to update the editor configuration and defaults.
The new scripting language.
Called when the script text changes to synchronize the editor view.
Saved current script from EditControl.
Copy script code to Edit control.
Loads the specified configuration settings to the Edit Control.
Adds the assembly to the list of referenced assemblies.
New assembly to reference.
When assembly is null.
Removes all assembly references from the list.
Prompts the user to select an assembly reference and adds it to the list.
The event source.
The event data.
Removes the currently selected assembly reference from the list.
The event source.
The event data.
Moves the selected assembly reference up one position in the list.
The event source.
The event data.
Moves the selected assembly reference down one position in the list.
The event source.
The event data.
Renames the folder browser dialog to indicate an assembly reference is being selected.
The event source.
The event data.
Marks the document as dirty when a general panel textbox changes.
The event source.
The event data.
Marks the document as dirty when the script name text box changes.
The event source.
The event data.
Associates the editor with the specified scripting manager and loads its script.
The scripting manager to use.
Loads the specified script into the editor.
The script to load.
Updates the provided script instance with the current values from the editor.
The script to update.
Returns the appropriate button element.
Displays a browsable object tree (objects, properties, items, and events) and supports drag-and-drop and event handler creation.
Minimal height for hiding box.
Placeholder text used for nodes that have not yet been populated.
The object which will be browsed in TreeView
Language for create drag-and-drop string.
The x coordinate of mouse cursor
The y coordinate of mouse cursor
Indicated that drag-and-drop process began.
Indicated that drag-and-drop process finished.
Displays a browsable object tree (objects, properties, items, and events) and supports drag-and-drop and event handler creation.
Gets the underlying TreeView used to display browsable objects and members.
Gets or sets the current scripting language used for drag-and-drop string generation.
Gets or sets the script site used to resolve event source instances.
Send when user is double click by tree node.
Initializes a new instance of the ScriptObjectBrowser control.
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Create Tree node with Tag information
Label of TreeNode
Type of node
value of item
Text used for Drag and Drop names creation
Gets the property path represented by a tree node, e.g., Root.Property["Item"].
The node for which to build the path.
The property path represented by the node.
Raises the NodeDoubleClick event for the currently selected node when appropriate.
Shows the context menu for creating an event handler when the user right-clicks an event node.
The source of the event.
Event arguments.
Handles double-clicks on a tree node and raises NodeDoubleClick if applicable.
The source of the event.
Event arguments.
Creates an event handler for the selected event node when the context menu item is clicked.
The source of the event.
Event arguments.
Lazily populates a node's children when it is expanded.
The source of the event.
Provides data for TreeView before-expand operations.
Populates the specified node with properties, collection items, and events from the given value.
The tree node to populate.
The object whose members are used to build the tree.
Adds collection items as child nodes if the collection is marked as script-browsable.
The parent tree node.
The collection to enumerate.
Adds properties that are script-browsable as child nodes of the specified node.
The parent node.
The list of properties to inspect.
The object instance whose properties are evaluated.
Adds event nodes for events that are script-browsable.
The parent node.
The list of events to add.
Determines whether the specified member is marked with ScriptBrowsableAttribute.
The member to inspect.
True if the member has ScriptBrowsableAttribute; otherwise, false.
Determines whether the specified member is marked with ScriptBrowsableAttribute and returns the attribute(s).
The member to inspect.
When this method returns, contains the retrieved ScriptBrowsableAttribute array, if present.
True if the attribute is present; otherwise, false.
Determines whether the specified member is a script-browsable collection.
The member to inspect.
True if the member is a collection marked with ScriptBrowsableAttribute and PropertyType.Collection; otherwise, false.
Called when mouse button will be pressed. Mark a start of drag-and-drop process.
Called when mouse button will be released. Break the drag-and-drop process.
Called when mouse will be move. Run drag-and-drop process.
Provides helpers to wrap and unwrap user scripts with language-specific boilerplate, namespaces, using/import directives, and event handler wiring.
This construction must be replaced for real class name
when class wraps user script.
This construction must be replaced for real object name
when class wraps user script.
This construction must be replaced for real event name
when class wraps user script.
Class header for CSharp.
Class footer for CSharp.
Class header for Visual Basic Net.
Class footer for Visual Basic Net.
Class header for Java Script Net.
Class footer for Java Script Net.
Using directive for CSharp.
Using directive for Visual Basic Net.
Using directive for Java Script Net.
Delimeter between using directives in CSharp.
Delimeter between using directives in Visual Basic Net.
Delimeter between using directives in Java Script Net.
Delimiter before inherited class.
Delimiter before inherited class in Visual Basic Net.
Delimiter before inherited class in Java Script Net.
Name of the global class for accessing to global objects.
Wraps plain script code into a full compilable unit for the specified language, including using/imports, namespace, and class wrapper.
Target script language.
Raw script source to wrap.
Optional namespace name to wrap the class in.
Prepend using/import directives.
Additional global code to append after the class.
Class name placeholder to substitute.
Base class name (currently unused).
Wrapped, compilable script text.
Extracts raw script from a wrapped unit, returning the inner class body and separating namespace, directives, and global code.
The script language.
The full wrapped code.
Outputs the detected namespace name.
Outputs collected using/import directives.
Outputs remaining code outside the class (if any).
The class name used to detect the wrapper.
The base class name (currently unused).
The unwrapped inner script body.
Builds an event handler method signature for the event specified by reflection metadata.
The target script language.
The class name hosting the handler.
The event to create a handler for.
Handler code for the given language.
Builds an event handler method for a known event and argument type.
The target script language.
The class name hosting the handler.
The event name.
The event args type name.
Handler code for the given language.
Builds subscription code that wires the handler to the event.
The target script language.
The namespace containing the Global class for C#.
The wrapper class name.
The event source class name.
The event metadata.
Subscription code for the given language.
Builds unsubscription code that detaches the handler from the event.
The target script language.
The namespace containing the Global class for C#.
The wrapper class name.
The event source class name.
The event metadata.
Unsubscription code for the given language.
Inserts event subscription code into a method body; creates the method if it does not exist.
The target language.
The full script code to modify.
The method name where the subscription will be inserted.
The subscription code to insert.
The modified script code.
Builds an empty method for the specified language.
The target language.
The method name.
Empty method text for the given language.
Returns language-specific keywords and delimiters used when wrapping code.
The target language.
Outputs the using/import keyword.
Outputs the delimiter used to separate imports.
Outputs the class header template.
Outputs the class footer template.
Outputs the inherits/extends delimiter.
Hosts the ScriptEditControl in a Windows Form and provides IScriptEditor integration.
Required designer variable.
Gets the embedded script editor control.
Initializes a new instance of the ScriptEditForm class.
Clean up any resources being used.
Releases unmanaged resources and optionally releases managed resources.
True to release both managed and unmanaged resources; false to release only unmanaged resources.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Loads the specified script into the editor UI.
The script to load.
Updates the provided script instance with the current values from the editor UI.
The script instance to update.
Gets the underlying Windows Form for this editor.
The current form instance.
Associates a scripting manager with the embedded editor.
The scripting manager to use.
Thrown when is null.
Interface to script editors.
This interface is implemented by classes that edit script objects.
Loads the data from the script into the editor.
Script to load into the editor
Updates the script object with the current values in the editor.
Script to update
The Form object that implements the user interface.
Implements a UITypeEditor for editing Script objects.
This class is the design-time editor for the Script property of
the ScriptingManager />
class.
Default constructor.
Returns the editor style.
Designer host context
Always returns UITypeEditorEditStyle.Modal as the editor style
Called by the designer to edit a script.
Returns the updated value of the Script
Determines if the editor manually draws the value in the property grid.
Always returns false
Handles painting the value for the editor.
Does nothing except call the base class PaintValue method.