Click or drag to resize

WindowInfo Class

Version 90.6.50
Class representing window information.
Inheritance Hierarchy
SystemObject
  CefSharpWindowInfo

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 90.6.50.0
Syntax
public class WindowInfo : IWindowInfo, IDisposable

The WindowInfo type exposes the following members.

Constructors
  NameDescription
Public methodWindowInfo
Initializes a new instance of the WindowInfo class
Top
Properties
  NameDescription
Public propertyExStyle
Ex window style
Public propertyExternalBeginFrameEnabled
Set to true to enable the ability to issue BeginFrame requests from the client application by calling SendExternalBeginFrame.
Public propertyHeight
Height
Public propertyParentWindowHandle
Parent window handle
Public propertySharedTextureEnabled
Set to true to enable shared textures for windowless rendering. Only valid if WindowlessRenderingEnabled is also set to true. Currently only supported on Windows (D3D11). This feature is experimental and has many bugs at the moment.
Public propertyStyle
Window style
Public propertyWidth
Width
Public propertyWindowHandle
Handle for the new browser window. Only used with windowed rendering.
Public propertyWindowlessRenderingEnabled
Set to true to create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the IRenderHandler interface. The ParentWindowHandle value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |ParentWindowHandle is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CefSettings.WindowlessRenderingEnabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting BackgroundColor to an opaque value.
Public propertyX
X coordinate
Public propertyY
Y coordinate
Top
Methods
  NameDescription
Public methodStatic memberCreate
Create a new IWindowInfo instance
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetAsChild(IntPtr)
Create the browser as a child window. Calls GetClientRect(Hwnd) to obtain the window bounds
Public methodSetAsChild(IntPtr, Int32, Int32, Int32, Int32)
Create the browser as a child window.
Public methodSetAsPopup
Create the browser as a popup window.
Public methodSetAsWindowless
Create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. This window will automatically be transparent unless a colored backgrond is set in the browser settings.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnWrap
Top
See Also