Interface IRotator
IRotator Interface
Namespace: Syncfusion.Maui.Core.Rotator
Assembly: Syncfusion.Maui.Core.dll
Syntax
public interface IRotator : IView, IElement, ITransform
Properties
Command
It invokes when the button is activated. The default value is null
Declaration
ICommand Command { get; set; }
Property Value
| Type |
|---|
| System.Windows.Input.ICommand |
CommandParameter
It is a parameter to pass to the Command property. This is a bindable property
Declaration
object CommandParameter { get; set; }
Property Value
| Type |
|---|
| System.Object |
DotPlacement
Gets or sets the value of Dots Placement property.
Declaration
DotsPlacement DotPlacement { get; set; }
Property Value
| Type |
|---|
| DotsPlacement |
DotsStroke
Gets or sets the value of dots stroke color Property.
Declaration
Color DotsStroke { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
EnableAutoPlay
Gets or sets a value indicating whether true or false.
Declaration
bool EnableAutoPlay { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
EnableLooping
Gets or sets a value indicating whether true or false.
Declaration
bool EnableLooping { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
EnableSwiping
Gets or sets a value indicating whether true or false.
Declaration
bool EnableSwiping { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
IsTextVisible
Gets or sets a value indicating whether true or false.
Declaration
bool IsTextVisible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
IsVisible
Gets or sets a value indicating whether true or false.
Declaration
bool IsVisible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
ItemsSource
collection of items that can be populated as Rotator items and get rendered at run-time based on the Template provided.
Declaration
IEnumerable<object> ItemsSource { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.IEnumerable<System.Object> |
ItemTemplate
The instance of the Template class defines visual structure of a rotator item
Declaration
DataTemplate ItemTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
NavigationButtonBackgroundColor
Gets or sets the value of Navigation Button Background Color property.
Declaration
Color NavigationButtonBackgroundColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
NavigationButtonIconColor
Gets or sets the value of Navigation Button Icon Color property.
Declaration
Color NavigationButtonIconColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
NavigationDelay
The value that determines the sliding animation delay when the control in auto play mode.
Declaration
int NavigationDelay { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
NavigationDirection
Gets or sets the direction of navigation
Declaration
NavigationDirection NavigationDirection { get; set; }
Property Value
| Type |
|---|
| NavigationDirection |
NavigationStripMode
Gets or sets the value of Navigation Strip Mode property.
Declaration
NavigationStripMode NavigationStripMode { get; set; }
Property Value
| Type |
|---|
| NavigationStripMode |
NavigationStripPosition
Gets or sets the value navigation strip Position property
Declaration
NavigationStripPosition NavigationStripPosition { get; set; }
Property Value
| Type |
|---|
| NavigationStripPosition |
SelectedDotColor
Gets or sets the value of Selected Dots color property.
Declaration
Color SelectedDotColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
SelectedIndex
This property can be used to change the index of selected item.
Declaration
int SelectedIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
SelectedThumbnailStroke
Gets or sets the value of Selected Thumbnail Stroke property.
Declaration
Color SelectedThumbnailStroke { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
ShowNavigationButton
This property can be used to change the visibility of the navigation buttons in thumbnail mode.
Declaration
bool ShowNavigationButton { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
UnselectedDotColor
Gets or sets the value of Unselected dots color property.
Declaration
Color UnselectedDotColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
UnselectedThumbnailStroke
Gets or sets the value of Unselected Thumbnail Stroke property.
Declaration
Color UnselectedThumbnailStroke { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
Methods
Next()
Moves Next
Declaration
virtual void Next()
Previous()
Moves Previous.
Declaration
virtual void Previous()
RaiseItemTapped(EventArgs)
This event occurs when tab header item tapped
Declaration
virtual void RaiseItemTapped(EventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | args |
RaiseSelectionChanged(SelectedIndexChangedEventArgs)
it occurs when users select an item from unselected items
Declaration
virtual void RaiseSelectionChanged(SelectedIndexChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| SelectedIndexChangedEventArgs | args |
Refresh()
Refresh thumbnail view.
Declaration
virtual void Refresh()