Skip to content

Commit af9782a

Browse files
Merge pull request #3730 from syncfusion-content/986416-ImageEditor-Feature-Vol3-SP1
986416 - Vol3, SP1 2025 UG content changes for ImageEditor team controls
2 parents 511d621 + e4b41bd commit af9782a

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

MAUI/ImageEditor/events.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,29 @@ This [`ImageLoaded`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEd
3636

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

39+
## Annotations deserialized event
40+
41+
This `AnnotationsDeserialized` event occurs when annotations are deserialized onto the image.
42+
43+
N> `Serialization` and `deserialization` are not applicable for custom annotation views.
44+
45+
{% tabs %}
46+
{% highlight xaml tabtitle="MainPage.xaml" hl_lines="3" %}
47+
<imageEditor:SfImageEditor x:Name="imageEditor"
48+
Source="image.png"
49+
AnnotationsDeserialized="OnAnnotationsDeserialized"/>
50+
51+
{% endhighlight %}
52+
{% highlight C# tabtitle="MainPage.xaml.cs" %}
53+
54+
private async void OnAnnotationsDeserialized(object? sender, EventArgs e)
55+
{
56+
await DisplayAlert("", "Annotations are deserialized", "Ok");
57+
}
58+
59+
{% endhighlight %}
60+
{% endtabs %}
61+
3962
## Annotation selected event
4063

4164
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.
@@ -86,4 +109,4 @@ The [`BrowseImage`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEdi
86109

87110
{% endhighlight %}
88111

89-
{% endtabs %}
112+
{% endtabs %}

0 commit comments

Comments
 (0)