Class ScriptObjectBrowser
This control display property tree for browsable object
and show properties by selected branch of tree
Inheritance
System.Object
ScriptObjectBrowser
Assembly: Syncfusion.Scripting.Windows.dll
Syntax
public class ScriptObjectBrowser : Control
Constructors
ScriptObjectBrowser()
Declaration
public ScriptObjectBrowser()
Properties
BrowserTreeView
Declaration
public TreeView BrowserTreeView { get; }
Property Value
Type |
System.Windows.Forms.TreeView |
ScriptLanguage
Declaration
public ScriptLanguages ScriptLanguage { get; set; }
Property Value
ScriptSite
Declaration
public IVsaSite ScriptSite { get; set; }
Property Value
Type |
Microsoft.Vsa.IVsaSite |
SelectedObject
Object used for browse in TreeView.
Get or set.
Declaration
public ScriptObject SelectedObject { get; set; }
Property Value
Methods
Declaration
protected void BuildEventsList(TreeNode node, EventInfo[] events)
Parameters
Type |
Name |
Description |
System.Windows.Forms.TreeNode |
node |
|
System.Reflection.EventInfo[] |
events |
|
Declaration
protected void BuildItemsCollection(TreeNode node, ICollection collection)
Parameters
Type |
Name |
Description |
System.Windows.Forms.TreeNode |
node |
|
System.Collections.ICollection |
collection |
|
Declaration
protected void BuildPropertiesList(TreeNode node, PropertyInfo[] properties, object value)
Parameters
Type |
Name |
Description |
System.Windows.Forms.TreeNode |
node |
|
System.Reflection.PropertyInfo[] |
properties |
|
System.Object |
value |
|
Declaration
protected void BuildTreeNodeItem(TreeNode node, object value)
Parameters
Type |
Name |
Description |
System.Windows.Forms.TreeNode |
node |
|
System.Object |
value |
|
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
IsBrowsableCollection(MemberInfo)
Declaration
protected bool IsBrowsableCollection(MemberInfo type)
Parameters
Type |
Name |
Description |
System.Reflection.MemberInfo |
type |
|
Returns
IsScriptBrowsable(MemberInfo)
Declaration
protected bool IsScriptBrowsable(MemberInfo type)
Parameters
Type |
Name |
Description |
System.Reflection.MemberInfo |
type |
|
Returns
IsScriptBrowsable(MemberInfo, out ScriptBrowsableAttribute[])
Declaration
protected bool IsScriptBrowsable(MemberInfo type, out ScriptBrowsableAttribute[] attr)
Parameters
Returns
OnNodeDoubleClick()
Declaration
protected virtual void OnNodeDoubleClick()
Events
NodeDoubleClick
Send when user is double click by tree node.
Declaration
public event NodeDoubleClickEventHandler NodeDoubleClick
Event Type