protected override void InitializeTypeDescriptor (ScriptTypeDescriptor typeDescriptor) { base.InitializeTypeDescriptor (typeDescriptor); /* XXX should make this use Hover/Unhover, but Owner == null is causing exceptions */ typeDescriptor.AddEvent (new ScriptEventDescriptor ("hover", true)); typeDescriptor.AddEvent (new ScriptEventDescriptor ("unhover", true)); typeDescriptor.AddProperty (new ScriptPropertyDescriptor ("hoverElement", ScriptType.Object, false, "")); typeDescriptor.AddProperty (new ScriptPropertyDescriptor ("unhoverDelay", ScriptType.Number, false, "UnhoverDelay")); }
protected override void InitializeTypeDescriptor(ScriptTypeDescriptor typeDescriptor) { base.InitializeTypeDescriptor(typeDescriptor); /* XXX should make this use Hover/Unhover, but Owner == null is causing exceptions */ typeDescriptor.AddEvent(new ScriptEventDescriptor("hover", true)); typeDescriptor.AddEvent(new ScriptEventDescriptor("unhover", true)); typeDescriptor.AddProperty(new ScriptPropertyDescriptor("hoverElement", ScriptType.Object, false, "")); typeDescriptor.AddProperty(new ScriptPropertyDescriptor("unhoverDelay", ScriptType.Number, false, "UnhoverDelay")); }
public void IsTypeDescriptorClosed() { Binding b = new Binding(); ScriptTypeDescriptor desc = ((IScriptObject)b).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { HoverBehavior a = new HoverBehavior(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { DraggableListItem a = new DraggableListItem(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { ListView l = new ListView(); ScriptTypeDescriptor desc = ((IScriptObject)l).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { TextBox t = new TextBox(); ScriptTypeDescriptor desc = ((IScriptObject)t).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
protected override void InitializeTypeDescriptor (ScriptTypeDescriptor typeDescriptor) { base.InitializeTypeDescriptor (typeDescriptor); /* XXX should make this use Click, but Owner == null is causing exceptions */ typeDescriptor.AddEvent (new ScriptEventDescriptor ("click", true)); }
public void IsTypeDescriptorClosed() { ActionPoker a = new ActionPoker(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { SetPropertyAction a = new SetPropertyAction(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { InvokeMethodAction a = new InvokeMethodAction(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
public void IsTypeDescriptorClosed() { DataSourceDropTarget a = new DataSourceDropTarget(); ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor(); desc.AddEvent(new ScriptEventDescriptor("testEvent", true)); }
protected override void InitializeTypeDescriptor(ScriptTypeDescriptor typeDescriptor) { base.InitializeTypeDescriptor(typeDescriptor); /* XXX should make this use Click, but Owner == null is causing exceptions */ typeDescriptor.AddEvent(new ScriptEventDescriptor("click", true)); }
public void AddAfterClose() { ActionPoker a = new ActionPoker(); ScriptTypeDescriptor td = new ScriptTypeDescriptor(a); td.Close(); td.AddEvent(new ScriptEventDescriptor("testEvent", true)); }