Appearance and Styling in EJ 1 ASP.NET MVC Rotator
8 Aug 2017 / 1 minute to read
Adjusting rotator item size
SlideWidth
This property sets the Width of a Rotator Item. The value set to this property is string or number.
@Html.EJ().Rotator("sliderContent").Datasource((IEnumerable<Localdata>)ViewBag.datasource)
.RotatorFields(t => t.Text("Text").Url("Url"))
.SlideWidth("600px").SlideHeight("350px")
SlideHeight
This property sets the Height of a Rotator Item. The value set to this property is string or number.
@Html.EJ().Rotator("sliderContent").Datasource((IEnumerable<Localdata>)ViewBag.datasource)
.RotatorFields(t => t.Text("Text").Url("Url"))
.SlideWidth("600px").SlideHeight("350px")
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