Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion MAUI/ImageEditor/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,29 @@ This [`ImageLoaded`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEd

N> [View sample in GitHub](https://github.com/SyncfusionExamples/maui-image-editor-examples/tree/master/ImageLoadedSample)

## Annotations deserialized event

This `AnnotationsDeserialized` event occurs when annotations are deserialized onto the image.

N> `Serialization` and `deserialization` are not applicable for custom annotation views.

{% tabs %}
{% highlight xaml tabtitle="MainPage.xaml" hl_lines="3" %}
<imageEditor:SfImageEditor x:Name="imageEditor"
Source="image.png"
AnnotationsDeserialized="OnAnnotationsDeserialized"/>

{% endhighlight %}
{% highlight C# tabtitle="MainPage.xaml.cs" %}

private async void OnAnnotationsDeserialized(object? sender, EventArgs e)
{
await DisplayAlert("", "Annotations are deserialized", "Ok");
}

{% endhighlight %}
{% endtabs %}

## Annotation selected event

This [`AnnotationSelected`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEditor.SfImageEditor.html#Syncfusion_Maui_ImageEditor_SfImageEditor_AnnotationSelected) event occurs when the annotation is selected.
Expand Down Expand Up @@ -86,4 +109,4 @@ The [`BrowseImage`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEdi

{% endhighlight %}

{% endtabs %}
{% endtabs %}