Class RotatorBaseItemBuilder
Represents a class for RotatorBaseItemBuilder which includes caption, URL, link attribute, and target attribute properties.
Inheritance
System.Object
RotatorBaseItemBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class RotatorBaseItemBuilder
Constructors
RotatorBaseItemBuilder(RotatorBaseItem)
Declaration
public RotatorBaseItemBuilder(RotatorBaseItem item)
Parameters
Type | Name | Description |
---|---|---|
RotatorBaseItem | item |
Methods
Caption(String)
Specify a caption for the Rotator Item.
Declaration
public RotatorBaseItemBuilder Caption(string caption)
Parameters
Type | Name | Description |
---|---|---|
System.String | caption |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |
ContentTemplate(Action<RotatorBaseItem>)
Specifies Content template.
Declaration
public RotatorBaseItemBuilder ContentTemplate(Action<RotatorBaseItem> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RotatorBaseItem> | contentTemplate |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |
ContentTemplate(Func<RotatorBaseItem, Object>)
Declaration
public RotatorBaseItemBuilder ContentTemplate(Func<RotatorBaseItem, object> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<RotatorBaseItem, System.Object> | contentTemplate |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |
LinkAttribute(String)
Specifies a link for the image.
Declaration
public RotatorBaseItemBuilder LinkAttribute(string linkAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | linkAttribute |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |
TargetAttribute(String)
Specifies where to open a given link.
Declaration
public RotatorBaseItemBuilder TargetAttribute(string targetAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | targetAttribute |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |
Url(String)
specifies url of rotator image.
Declaration
public RotatorBaseItemBuilder Url(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Returns
Type | Description |
---|---|
RotatorBaseItemBuilder |