Пример #1
0
 /// <summary>
 /// Invalidate the view. The browser will call CfxRenderHandler.OnPaint
 /// asynchronously. This function is only used when window rendering is
 /// disabled.
 /// </summary>
 /// <remarks>
 /// See also the original CEF documentation in
 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_browser_capi.h">cef/include/capi/cef_browser_capi.h</see>.
 /// </remarks>
 public void Invalidate(CfxPaintElementType type)
 {
     CfxApi.cfx_browser_host_invalidate(NativePtr, (int)type);
 }
Пример #2
0
 /// <summary>
 /// Invalidate the view. The browser will call CfxRenderHandler.OnPaint
 /// asynchronously. This function is only used when window rendering is
 /// disabled.
 /// </summary>
 /// <remarks>
 /// See also the original CEF documentation in
 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_browser_capi.h">cef/include/capi/cef_browser_capi.h</see>.
 /// </remarks>
 public void Invalidate(CfxPaintElementType type)
 {
     CfxApi.cfx_browser_host_invalidate(NativePtr, (int)type);
 }