Header Visibility
19 Apr 2017 / 1 minute to read
The TextVisible
property can be used to enable the text area visibility in bottom area of SfRotator for providing additional information of items. TextVisible property is used to change the visibility of the Text panel that is displayed when SfRotatorItem collection is set.
NOTE
By default, the property value is false.
Context context = this;
SfRotator rotator = new SfRotator(context);
List<SfRotatorItem> collection = new List<SfRotatorItem>();
for(int i = 1; i < 5; i++)
{
SfRotatorItem item = new SfRotatorItem(context);
item.ImageContent = "movie" + i;
collection.Add(item);
}
// Assign the collection of Image date to Rotator's DataSource
rotator.DataSource = collection;
// Used Resource folder images's name will display at the bottom of Rotator control.
rotator.TextVisible = true;
rotator.SelectedIndex = 2;
SetContentView(rotator);
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page