TileViewBuilder.Direction(Orientation) Method
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
public TileViewBuilder Direction(
Orientation value
)
Parameters
Name | Type | Description |
---|---|---|
value | Orientation | The option value. |
Returns
Type | Description |
---|---|
TileViewBuilder | 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