TileViewBuilder.Direction(Orientation) Method
In This Article
Specifies whether the UI component is oriented horizontally or vertically. Mirrors the client-side direction option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public TileViewBuilder Direction(
Orientation value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Orientation | The option value. |
#Returns
Type | Description |
---|---|
Tile |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TileView()
.Direction(Orientation.Horizontal)
)
See Also