Skip to content

Commit

Permalink
Changing file name, changing branch name, and making examples descrip…
Browse files Browse the repository at this point in the history
…tion a little more descriptive
  • Loading branch information
johna-ms committed Oct 21, 2024
1 parent b2b2634 commit 74e7ca0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions specs/DragStartingEvent.md → specs/DragStarting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ The WebView2 team has been asked to provide a way to override the default drag d
# Examples
## DragStarting
Users can use `add_DragStarting` on the CompositionController to add an event handler
that is invoked when drag is starting. They can use the event args to start their own
drag or they can just set `Handled` to `FALSE` to ignore the drag.
that is invoked when drag is starting. They can use the the event args to start their own
drag. Notably the `Deferral` can be used to execute any async drag logic and call back into
the WebView at a later time. The `Handled` property lets the WebView2 know whether to
exercise its own drag logic or not.

```C++
CHECK_FAILURE(m_compControllerStaging->add_DragStarting(
Expand Down

0 comments on commit 74e7ca0

Please sign in to comment.