ScrollViewItemBuilder
Methods
HtmlAttributes(System.Object)
Sets the HTML attributes.
Parameters
attributes - System.Object
The HTML attributes.
HtmlAttributes(System.Collections.Generic.IDictionary)
Sets the HTML attributes.
Parameters
attributes - System.Collections.Generic.IDictionary<String,Object>
The HTML attributes.
Content(System.Action)
Sets the HTML content which the content should display.
Parameters
value - System.Action
The action which renders the content.
Example
@( Html.Kendo().ScrollView()
.Name("View")
.Items(items => items.Add()
.Content(() =>
{
)
<strong> View Content </strong>
(
})
)
.Render();
)
Content(System.Func)
Sets the HTML content which the content should display.
Parameters
value - System.Func<Object,Object>
The content wrapped in a regular HTML tag or text tag (Razor syntax).
Example
@(Html.Kendo().ScrollView()
.Name("View")
.Items(items => items.Add()
.Content(
@<text>
Some text
<strong> View Content </strong>
</text>
)
)
)
Content(System.String)
Sets the HTML content which the view content should display as a string.
Parameters
value - System.String
The action which renders the view content.
Example
@( Html.Kendo().ScrollView()
.Name("View")
.Items(items => items.Add()
.Content("<strong> View Content </strong>"))
.Render();
)