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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Doc is not correct

Thread ID:

Created:

Updated:

Platform:

Replies:

142721 Feb 16,2019 02:44 PM UTC Feb 18,2019 01:04 PM UTC Xamarin.iOS 1
loading
Tags: SfRotator
Luca
Asked On February 16, 2019 02:44 PM UTC

hi,
can you please update your doc at https://help.syncfusion.com/xamarin-ios/sfrotator/populating-data
there is an error when you write
NSMutableArray<SFRotatorItem> rotatorItemCollection = new NSMutableArray<SFRotatorItem> ();
	For(int i=1;i<18;i++)
	{
	SFRotatorItem item =new SFRotatorItem ();
	item.ImageName="image"+i;
	rotatorItemCollection.Add(item);
	}
	rotator.DataSource=rotatorItemCollection;
item.ImageName doesn't exist!
thanks

Selva Kumar  Veerakrishnan [Syncfusion]
Replied On February 18, 2019 01:04 PM UTC

Hi Alberto, 

 
Greetings from Syncfusion. 

 
Currently we are re-vamping our  User Guide(UG) documentation, we will update our UG and let you know once the changes has been reflected on live. 

 
Please use the below given sample in which we have used the View inside the SfRotatorItem. 

 
 
 NSMutableArray<SFRotatorItem> rotatorItemCollection = new NSMutableArray<SFRotatorItem>();
 for (int i = 1; i <= 5; i++)
    {
      SFRotatorItem items = new SFRotatorItem();
      UIImageView uiImageView = new UIImageView();
      uiImageView.Frame = new CGRect(0, 0, this.View.Frame.Width, this.View.Frame.Height);
      uiImageView.Image = new UIImage("Images/Image" + i.ToString() + ".png");
      items.View = uiImageView;
      rotatorItemCollection.Add(items);
    }
rotator.DataSource = rotatorItemCollection;

 
 

 
Please have the sample from the link given below. 

 

 
Please let us know if you need any clarification on this. 

 
Regards, 
Selva Kumar V. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon