Dimensions in EJ 1 ASP.NET MVC ListView
5 Oct 2015 / 1 minute to read
To customize the ListView dimensions, Width and Height properties are used.
Refer to the following code examples.
@Html.EJMobile().ListView("lb").Height(600).Width(300).Items(items =>
{
items.Add().Text("ArtWork");
items.Add().Text("Abstract");
items.Add().Text("2 Acrylic Mediums");
items.Add().Text("Creative Acrylic");
items.Add().Text("Canvas Art");
items.Add().Text("Black white");
items.Add().Text("Children");
items.Add().Text("Preschool Crafts");
items.Add().Text("School-age Crafts");
})
Screenshot:
Height
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