Class SfRotatorItem
Implements the properties used to get or set the custom views for the control for rendering.
Inheritance
Namespace: Syncfusion.Maui.Rotator
Assembly: Syncfusion.Maui.Rotator.dll
Syntax
public class SfRotatorItem : View, IRotatorItem, IView, IElement, ITransform
Constructors
SfRotatorItem()
Initializes a new instance of the SfRotatorItem class.
Declaration
public SfRotatorItem()
SfRotatorItem(View, String)
Initializes a new instance of the SfRotatorItem class.
Declaration
public SfRotatorItem(View name, string content)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Maui.Controls.View | name | Name. |
| System.String | content | Content. |
Fields
ImageProperty
Identifies the Image bindable property. By This property can be used to give the image as an item in SfRotator.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ItemContentProperty
Identifies the ItemContent bindable property. The value of view that can be placed as an item in the SfRotator control.
Declaration
public static readonly BindableProperty ItemContentProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ItemTextProperty
Identifies the ItemText bindable property. By This property can be used to give the text as an item in SfRotator.
Declaration
public static readonly BindableProperty ItemTextProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Image
Gets or sets the value of image. By This property can be used to give the image as an item in SfRotator.
Declaration
public string Image { get; set; }
Property Value
| Type |
|---|
| System.String |
ItemContent
Gets or sets the value of ItemContent. It is a view that can be placed as an item in SfRotatorItem.
Declaration
public View ItemContent { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.View |
ItemText
Gets or sets the value of ItemText. By This property can be used to give the text as an item in SfRotator.
Declaration
public string ItemText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The navigation direction. |