StackLayoutContainerBuilder
Methods
Content(System.Action)
Sets the HTML content of the container.
Parameters
content - System.Action
The action which renders the HTML content.
Example
@( Html.Kendo().StackLayout()
.Name("StackLayout")
.Panes(panes =>
{
panes.Add()
.Content(() => { >%
<p>Content</p>
%<});
})
.Render();
)
Content(System.Func)
Sets the HTML content of the container.
Parameters
content - System.Func<Object,Object>
The Razor template for the HTML content.
Example
@(Html.Kendo().StackLayout()
.Name("StackLayout")
.Panes(panes =>
{
panes.Add()
.Content(@<p>Content</p>);
})
.Render();)
Content(System.String)
Sets the HTML content of the container.
Parameters
content - System.String
The HTML content.
Example
@( Html.Kendo().StackLayout()
.Name("StackLayout")
.Panes(panes =>
{
panes.Add()
.Content("<p>Content</p>");
})
)