Compartir a través de


WebDataDrivenAdapter Class

Definition

Represents the data driven adapter for interacting with the controls on a webpage.

public ref class WebDataDrivenAdapter : Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::DataDrivenAdapterBase
public class WebDataDrivenAdapter : Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DataDrivenAdapterBase
type WebDataDrivenAdapter = class
    inherit DataDrivenAdapterBase
Public Class WebDataDrivenAdapter
Inherits DataDrivenAdapterBase
Inheritance
WebDataDrivenAdapter

Constructors

WebDataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the WebDataDrivenAdapter class.

Fields

PREFIX

Specifies the prefix used to identify the data driven adapter.

Properties

Browser
CurrentHtmlDocument

Gets or sets the current selected HTML document.

IsCurrentHtmlDocumentAvailable

Gets the Boolean value that specifies whether the current HTML document is available.

WebBrowser
Obsolete.

Gets or sets the instance of the web browser control provided to the constructor.

WebBrowserHtmlDocument

Gets the HTLM document of the web browser object.

Methods

Dispose()

Clears up any resources being used.

(Inherited from DataDrivenAdapterBase)
Dispose(Boolean)

Overridden. Unregisters the event listeners.

(Inherited from DataDrivenAdapterBase)
ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.

(Inherited from DataDrivenAdapterBase)
FindControl(String)

Reports whether the named control is available for use.

(Inherited from DataDrivenAdapterBase)
FindControlHtmlElement(String, Boolean)

Finds the operable HTML elements.

GetApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation not required for run-time operation.

GetAvailableApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation not required for run-time operation.

GetAvailableControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation not required for run-time operation.

GetControlConfig(String)

Gets the subordinate nodes from a top-level XML node of a data-driven adapter control binding.

(Inherited from DataDrivenAdapterBase)
GetControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation not required for run-time operation.

GetControlNames()

Gets the control names.

(Inherited from DataDrivenAdapterBase)
GetControlValue(String, String)

Gets the current value of the control.

(Inherited from DataDrivenAdapterBase)
GetFirstDescendentUnderControlConfig(String, String)

Retrieves the first descendent node from a top-level XML node of a data-driven adapter control binding.

(Inherited from DataDrivenAdapterBase)
OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.

(Inherited from DataDrivenAdapterBase)
OperationHandler(OperationType, String, String, String)

Calls to the WebDataDrivenAdapter API to manipulate the UI are dispatched to this handler.

RaiseEvent(Object, String, String, String)

Raises events where necessary. There is no synchronization context marshalling. Events go out on the thread that raised them. It is the listeners responsibility to perform an application-specific thread marshalling as required.

(Inherited from DataDrivenAdapterBase)
RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener registration.

(Inherited from DataDrivenAdapterBase)
RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String)

Facilitates explicit WebDDA event listener registration.

RegisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Adds the specified listenerCallback to the internal list of registered listeners. Once registered, RaiseEvent can then be used to raise the event to the registered listeners.

(Inherited from DataDrivenAdapterBase)
SetControlValue(String, String, String)

Assigns a new value to the named control.

(Inherited from DataDrivenAdapterBase)
UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit WebDDA event listener unregistration. Called for every registered event on Dispose().

UnregisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Removes the specified listenerCallback from the internal list of registered listeners. Once unregistered, RaiseEvent no longer can be used to raise the event.

(Inherited from DataDrivenAdapterBase)

Applies to