Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
28 changes: 28 additions & 0 deletions MAUI/ImageEditor/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,31 @@ The [`BrowseImage`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.ImageEdi
{% endhighlight %}

{% endtabs %}

## AnnotationsDeserialized event
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to Annotations deserialized event and move this event to above annotation-selected-event

https://github.com/syncfusion-content/maui-docs/blob/b02e659e29e1f9f59f10ca5fc8e709cc571ed8c1/MAUI/ImageEditor/events.md#annotation-selected-event

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed sir.


The 'AnnotationsDeserialized' event is triggered each time deserialization completes and annotations are applied to the ImageEditor control. This allows users to validate the data, update the UI, or execute custom business logic.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated sir.


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

{% tabs %}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unwanted line added in all places

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed sir.

{% highlight xaml tabtitle="MainPage.xaml" %}

<imageEditor:SfImageEditor x:Name="imageEditor"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AarthiArjunan, fix code alignment issue and highlight AnnotationsDeserialized line

image

Copy link
Author

@AarthiArjunan AarthiArjunan Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alignment changed sir. but didn't know how to highlight xaml code.

Source="image.png"
AnnotationsDeserialized="OnAnnotationsDeserialized"/>

{% endhighlight %}

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

private void OnAnnotationsDeserialized(object? sender, EventArgs e)
{

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add popup to display and add message Annotation are deserialized

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added sir.

// Add anything here, like dispaly alert to show event raised
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Check spell error and remove

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed sir.

}

{% endhighlight %}

{% endtabs %}
Loading