Click or drag to resize

IWindowInfo Interface

Version 67.0.0
Class representing window information.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 67.0.0.0 (67.0.0.0)
Syntax
public interface IWindowInfo : IDisposable

The IWindowInfo type exposes the following members.

Properties
  NameDescription
Public propertyExStyle
Ex window style
Public propertyHeight
Height
Public propertyParentWindowHandle
Parent window handle
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 methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodSetAsChild
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.
Top
See Also