Click or drag to resize

CefFrame Class

Class used to represent a frame in the browser window. When used in the browser process the methods of this class may be called on any thread unless otherwise indicated in the comments. When used in the render process the methods of this class may only be called on the main thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefFrame

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public sealed class CefFrame : IDisposable

The CefFrame type exposes the following members.

Properties
 NameDescription
Public propertyBrowser Returns the browser that this frame belongs to.
Public propertyIdentifier Returns the globally unique identifier for this frame or < 0 if the underlying frame does not yet exist.
Public propertyIsFocused Returns true if this is the focused frame.
Public propertyIsMain Returns true if this is the main (top-level) frame.
Public propertyIsValid True if this object is currently attached to a valid frame.
Public propertyName 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.
Public propertyParent Returns the parent of this frame or NULL if this is the main (top-level) frame.
Public propertyUrl Returns the URL currently loaded in this frame.
Public propertyV8Context Get the V8 context associated with the frame. This method can only be called from the render process.
Top
Methods
 NameDescription
Public methodCopy Execute copy in this frame.
Public methodCut Execute cut in this frame.
Public methodDelete Execute delete in this frame.
Public methodDisposeReleases all resources used by the CefFrame
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteJavaScript Execute a string of JavaScript code in this frame. The |script_url| parameter is the URL where the script in question can be found, if any. The renderer may request this URL to show the developer the source of the error. The |start_line| parameter is the base line number to use for error reporting.
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSource Retrieve this frame's HTML source as a string sent to the specified visitor.
Public methodGetText Retrieve this frame's display text as a string sent to the specified visitor.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadRequest Load the request represented by the |request| object.
Public methodLoadString Load the contents of |string_val| with the specified dummy |url|. |url| should have a standard scheme (for example, http scheme) or behaviors like link clicks and web security restrictions may not behave as expected.
Public methodLoadUrl Load the specified |url|.
Public methodPaste Execute paste in this frame.
Public methodRedo Execute redo in this frame.
Public methodSelectAll Execute select all in this frame.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUndo Execute undo in this frame.
Public methodViewSource 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.
Public methodVisitDom Visit the DOM document. This method can only be called from the render process.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also