Articles in this section
Category / Section

How to customise the back button in ImageEditor

1 min read

In ImageEditor we use Back button to navigate from second level sub menu to first level menu. By default,back button is rendered with default icon. We can also able to customize the back button by changing its icon and text.

 

Step 1: Create image editor sample with all necessary assemblies.

 

Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.

https://help.syncfusion.com/xamarin/sfimageeditor/getting-started

 

Step 2: Set text and Icon for back button using ToolbarSettings properties.

 

The following code snippet illustrates the way to this method,

 

C#

 

public MainPage()
 {
       InitializeComponent();
 
       imageeditor.Source =ImageSource.FromResource("ImageEditor_GettingStarted.Image.jpg");
 
       imageeditor.ToolbarSettings.BackButton.Text = "Go Back";
 
       imageeditor.ToolbarSettings.BackButton.Icon =ImageSource.FromResource                                                       
                                                    ("ImageEditor_GettingStarted.back.jpg");
   }

 

Screen Shot:

 

shape type

Sample Link:

 

https://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageEditor_GettingStarted-591345499.zip

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied