CardViewSwitchPlacement enumeration
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Where the buttons that switch between the views of a grid go, when the view is on a columns class, e.g. a card view, see SwitchPlacement. A grid that lacks the part a placement names puts the buttons in the closest one it has, the title bar being the last resort.
public enum CardViewSwitchPlacement
Values
| name | value | description |
|---|---|---|
| Closest | 0 |
As close to the table as the grid allows, which is the default: at the end of the bar of its quick filters, which is the row above the table when it has them, else at the end of its toolbar, else in its title bar. |
| Title | 1 |
In the title bar of the grid, to the right of its title. |
| Filters | 2 |
At the end of the bar of the quick filters of the grid, which is the row above its table, when it has quick filters. |
| Toolbar | 3 |
At the end of the toolbar of the grid, when it has a toolbar. |
See Also
- Source: CardViewSwitchPlacement.cs