Class TelerikCarousel<TItem>
The class for the TelerikCarousel component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikCarousel<TItem> : DataBoundComponent<TItem>, IDisposable
Type Parameters
TItem
|
Constructors
TelerikCarousel()
Declaration
public TelerikCarousel()
Properties
Arrows
Defines whether the arrows should be visible. Default value is true.
Declaration
public bool Arrows { get; set; }
Property Value
System.Boolean
|
AutomaticPageChange
Defines whether automatic page change should be enabled. Default value is true.
Declaration
public bool AutomaticPageChange { get; set; }
Property Value
System.Boolean
|
AutomaticPageChangeInterval
Defines the interval between automatic page changes. Default value is 5000.
Declaration
public int AutomaticPageChangeInterval { get; set; }
Property Value
System.Int32
|
Height
Defines the height of the component.
Declaration
public string Height { get; set; }
Property Value
System.String
|
HeightStyle
Declaration
public string HeightStyle { get; }
Property Value
System.String
|
LoopPages
Defines whether looping pages should be enabled. Default value is true.
Declaration
public bool LoopPages { get; set; }
Property Value
System.Boolean
|
Page
Defines the current page of the Carousel. Default value is 1.
Declaration
public int Page { get; set; }
Property Value
System.Int32
|
Pageable
Defines whether the pager should be visible. Default value is true.
Declaration
public bool Pageable { get; set; }
Property Value
System.Boolean
|
PageChanged
Triggers when the page has changed.
Declaration
public EventCallback<int> PageChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
StyleToRender
Declaration
public string StyleToRender { get; }
Property Value
System.String
|
Template
Defines the default template of the Carousel.
Declaration
public RenderFragment<TItem> Template { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<TItem>
|
ThemeColor
Defines the pager overlay. Default value is Light.
Declaration
public string ThemeColor { get; set; }
Property Value
System.String
|
ThemeColorClass
Declaration
public string ThemeColorClass { get; }
Property Value
System.String
|
Width
Defines the width of the component.
Declaration
public string Width { get; set; }
Property Value
System.String
|
WidthStyle
Declaration
public string WidthStyle { get; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|