|
public sealed class HtmlDocument
|
|
|
: HtmlObject, IDynamicMetaObjectProvider
|
|
|
public HtmlElement Body { get; }
|
|
|
public String Cookies { get; set; }
|
|
|
public HtmlElement DocumentElement { get; }
|
|
|
public Uri DocumentUri { get; }
|
|
|
public Boolean IsReady { get; }
|
|
|
public IDictionary`2<String, String> QueryString { get; }
|
|
|
public event EventHandler DocumentReady;
|
|
|
public HtmlElement CreateElement(String tagName);
|
|
|
public HtmlElement GetElementById(String id);
|
|
|
public ScriptObjectCollection GetElementsByTagName(String tagName);
|
|
|
public void Submit();
|
|
|
public void Submit(String formId);
|
|
|
public sealed class HtmlElement
|
|
|
: HtmlObject, IDynamicMetaObjectProvider
|
|
|
public ScriptObjectCollection Children { get; }
|
|
|
public String CssClass { get; set; }
|
|
|
public String Id { get; set; }
|
|
|
public HtmlElement Parent { get; }
|
|
|
public String TagName { get; }
|
|
|
public void AppendChild(HtmlElement element);
|
|
|
public void AppendChild(HtmlElement element, HtmlElement referenceElement);
|
|
|
public void Focus();
|
|
|
public String GetAttribute(String name);
|
|
|
public String GetStyleAttribute(String name);
|
|
|
public void RemoveAttribute(String name);
|
|
|
public void RemoveChild(HtmlElement element);
|
|
|
public void RemoveStyleAttribute(String name);
|
|
|
public void SetAttribute(String name, String value);
|
|
|
public void SetStyleAttribute(String name, String value);
|
|
|
public class HtmlEventArgs
|
|
|
: EventArgs
|
|
|
public Boolean AltKey { get; }
|
|
|
public Int32 CharacterCode { get; }
|
|
|
public Int32 ClientX { get; }
|
|
|
public Int32 ClientY { get; }
|
|
|
public Boolean CtrlKey { get; }
|
|
|
public ScriptObject EventObject { get; }
|
|
|
public String EventType { get; }
|
|
|
public Int32 KeyCode { get; }
|
|
|
public MouseButtons MouseButton { get; }
|
|
|
public Int32 OffsetX { get; }
|
|
|
public Int32 OffsetY { get; }
|
|
|
public Int32 ScreenX { get; }
|
|
|
public Int32 ScreenY { get; }
|
|
|
public Boolean ShiftKey { get; }
|
|
|
public HtmlObject Source { get; }
|
|
|
public void PreventDefault();
|
|
|
public void StopPropagation();
|
|
|
public abstract class HtmlObject
|
|
|
: ScriptObject, IDynamicMetaObjectProvider
|
|
|
public Boolean AttachEvent(String eventName, EventHandler handler);
|
|
|
public Boolean AttachEvent(String eventName, EventHandler`1<HtmlEventArgs> handler);
|
|
|
public void DetachEvent(String eventName, EventHandler handler);
|
|
|
public void DetachEvent(String eventName, EventHandler`1<HtmlEventArgs> handler);
|
|
|
public abstract sealed class HtmlPage
|
|
|
|
|
|
static public BrowserInformation BrowserInformation { get; }
|
|
|
static public HtmlDocument Document { get; }
|
|
|
static public Boolean IsEnabled { get; }
|
|
|
static public Boolean IsPopupWindowAllowed { get; }
|
|
|
static public HtmlElement Plugin { get; }
|
|
|
static public HtmlWindow Window { get; }
|
|
|
static public HtmlWindow PopupWindow(Uri navigateToUri, String target, HtmlPopupWindowOptions options);
|
|
|
static public void RegisterCreateableType(String scriptAlias, Type type);
|
|
|
static public void RegisterScriptableObject(String scriptKey, Object instance);
|
|
|
static public void UnregisterCreateableType(String scriptAlias);
|
|
|
public sealed class HtmlPopupWindowOptions
|
|
|
|
|
|
public Boolean Directories { get; set; }
|
|
|
public Int32 Height { get; set; }
|
|
|
public Int32 Left { get; set; }
|
|
|
public Boolean Location { get; set; }
|
|
|
public Boolean Menubar { get; set; }
|
|
|
public Boolean Resizeable { get; set; }
|
|
|
public Boolean Scrollbars { get; set; }
|
|
|
public Boolean Status { get; set; }
|
|
|
public Boolean Toolbar { get; set; }
|
|
|
public Int32 Top { get; set; }
|
|
|
public Int32 Width { get; set; }
|
|
|
public sealed class HtmlWindow
|
|
|
: HtmlObject, IDynamicMetaObjectProvider
|
|
|
public String CurrentBookmark { get; set; }
|
|
|
public void Alert(String alertText);
|
|
|
public Boolean Confirm(String confirmText);
|
|
|
public ScriptObject CreateInstance(String typeName, Object args);
|
|
|
public Object Eval(String code);
|
|
|
public void Navigate(Uri navigateToUri);
|
|
|
public HtmlWindow Navigate(Uri navigateToUri, String target);
|
|
|
public HtmlWindow Navigate(Uri navigateToUri, String target, String targetFeatures);
|
|
|
public void NavigateToBookmark(String bookmark);
|
|
|
public String Prompt(String promptText);
|
|
|
public class ScriptObject
|
|
|
: IDynamicMetaObjectProvider
|
|
|
public Dispatcher Dispatcher { get; }
|
|
|
public Object ManagedObject { get; }
|
|
|
public Boolean CheckAccess();
|
|
|
public T ConvertTo();
|
|
|
public Object GetProperty(Int32 index);
|
|
|
public virtual Object GetProperty(String name);
|
|
|
public virtual Object Invoke(String name, Object args);
|
|
|
public virtual Object InvokeSelf(Object args);
|
|
|
public void SetProperty(Int32 index, Object value);
|
|
|
public virtual void SetProperty(String name, Object value);
|
|