CoreWebView2ScreenCaptureStartingEventArgs.Handled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The host may set this flag to TRUE
to prevent the ScreenCaptureStarting
event from firing on the CoreWebView2
as well.
public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean
Property Value
Remarks
By default, both the ScreenCaptureStarting
event handlers on the CoreWebView2Frame
and the CoreWebView2
will be invoked, with the CoreWebView2Frame
event handlers invoked first. The host may set this flag to TRUE
within the CoreWebView2Frame
event handlers to prevent the remaining CoreWebView2
event handlers from being invoked. If the flag is set to FALSE
within the CoreWebView2Frame
event handlers, downstream handlers can update the Cancel
property.