We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show or hide Image Editor toolbar items?

 

SfImageEditor allows you to enable or disable the items in toolbar

 

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: SetToolbarItemVisibility method is used to hide/show items in toolbar. Specify the name of the item in SetToolbarItemVisibility method as arguments, and set visibility value as true/false.

 

The following code snippet illustrates the way to this method,

 

Xaml:

 

 

C#

 

 

You can also specify the single item or multiple items in SetToolbarItemVisibility method as arguments.

 

Code snippet

 

Editor.SetToolbarItemVisibility("redo", false);

 

 

Note:

 

The list of items in toolbar that can be hidden/shown by using SetToolbarItemVisibility method are follows.   

 

text, redo, undo, save, transform, rotate, shape, crop, path, circle, reset, and arrow          

     

 

Sample link:

 

http://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageEditor_GettingStarted-1358939551.zip

 

 

Screenshot:     

 

 

             

                                                                           

Article ID: Published Date: Last Revised Date: Platform: Control:
8258 12/27/2017 07/06/2018 Xamarin.Forms SfImageEditor
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon