Class representing window information.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IWindowInfo : IDisposable
public interface class IWindowInfo : IDisposable
The IWindowInfo type exposes the following members.
Properties Name Description ExStyleEx window style
ExternalBeginFrameEnabledSet to true to enable the ability to issue BeginFrame requests from the client application by calling
SendExternalBeginFrame.
HeightHeight
ParentWindowHandleParent window handle
SharedTextureEnabledSet to true to enable shared textures for windowless rendering. Only valid if
WindowlessRenderingEnabledis also set to true. Currently only supported on Windows (D3D11). This feature is experimental and has many bugs at the moment.
StyleWindow style
WidthWidth
WindowHandleHandle for the new browser window. Only used with windowed rendering.
WindowlessRenderingEnabledSet 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
ParentWindowHandlevalue will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |
ParentWindowHandleis 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
BackgroundColorto an opaque value.
WindowNameWindow Name
XX coordinate
YY coordinate
Top Methods Name Description DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) SetAsChild(IntPtr)Create the browser as a child window. Calls GetClientRect(Hwnd) to obtain the window bounds
SetAsChild(IntPtr, Rect)Create the browser as a child window.
SetAsChild(IntPtr, Int32, Int32, Int32, Int32)Create the browser as a child window.
SetAsPopupCreate the browser as a popup window.
SetAsWindowlessCreate 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.
UnWrapUsed internally to get the underlying IWindowInfo instance. Unlikely you'll use this yourself.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4