IFrame Interface |
Namespace: CefSharp
The IFrame type exposes the following members.
Name | Description | |
---|---|---|
Browser |
Returns the browser that this frame belongs to.
| |
Identifier |
Returns the globally unique identifier for this frame.
| |
IsDisposed |
Gets a value indicating whether the frame has been disposed of.
| |
IsFocused |
Returns true if this is the focused frame.
| |
IsMain |
Returns true if this is the main (top-level) frame.
| |
IsValid |
True if this object is currently attached to a valid frame.
| |
Name |
Returns the name for this frame. If the frame has an assigned name (for
example, set via the iframe "name" attribute) then that value will be
returned. Otherwise a unique name will be constructed based on the frame
parent hierarchy. The main (top-level) frame will always have an empty name
value.
| |
Parent |
Returns the parent of this frame or NULL if this is the main (top-level) frame.
| |
Url |
Returns the URL currently loaded in this frame.
|
Name | Description | |
---|---|---|
Copy |
Execute copy in this frame.
| |
CreateRequest |
Create a custom request for use with LoadRequest(IRequest) | |
Cut |
Execute cut in this frame.
| |
Delete |
Execute delete in this frame.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
EvaluateScriptAsync |
Execute some Javascript code in the context of this WebBrowser, and return the result of the evaluation
in an Async fashion
| |
ExecuteJavaScriptAsync |
Execute a string of JavaScript code in this frame.
| |
GetSource |
Retrieve this frame's HTML source as a string sent to the specified visitor.
Use the GetSourceAsync method for a Task based async wrapper
| |
GetSourceAsync |
Retrieve this frame's HTML source as a string sent to the specified visitor.
| |
GetText |
Retrieve this frame's display text as a string sent to the specified visitor.
Use the GetTextAsync method for a Task based async wrapper
| |
GetTextAsync |
Retrieve this frame's display text as a string sent to the specified visitor.
| |
LoadRequest |
Load the custom request.
| |
LoadStringForUrl |
Load the contents of html with the specified dummy url.
| |
LoadUrl |
Load the specified url.
| |
Paste |
Execute paste in this frame.
| |
Redo |
Execute redo in this frame.
| |
SelectAll |
Execute select all in this frame.
| |
Undo |
Execute undo in this frame.
| |
ViewSource |
Save this frame's HTML source to a temporary file and open it in the
default text viewing application. This method can only be called from the
browser process.
|