GridViewMarkupExtensions class
Generated fluent setters and event subscriptions for GridView.
Guide: C# Markup guide
public static class GridViewMarkupExtensionsPublic Members
Section titled “Public Members”| name | description |
|---|---|
| static CellPadding(…) | Sets the padding applied to each cell. |
| static HeaderHeight(…) | Sets the header row height in DIPs; NaN uses the theme default. |
| static MaxAutoViewportHeight(…) | Sets the maximum height, in DIPs, the rows viewport grows to when the grid sizes to its content. |
| static OnItemDoubleClicked(…) | Subscribes handler to ItemDoubleClicked. Occurs when a row is double-clicked with the primary mouse button. |
| static OnSelectedIndicesChanged(…) | Subscribes handler to SelectedIndicesChanged. Occurs when the set of selected rows changes (multi-select). |
| static OnSelectionChanged(…) | Subscribes handler to SelectionChanged. Occurs when the selected row changes. |
| static RowHeight(…) | Sets the row height in DIPs; NaN uses the theme default. |
| static SelectedIndex(…) | Sets the selected row index, or -1 when nothing is selected. |
| static SelectedItem(…) | Sets the selected item, or null when nothing is selected. |
| static SelectionMode(…) | Sets the selection mode; multi-selection needs an items source that supports it (e.g. from Create ), otherwise the mode stays Single. |
| static ShowGridLines(…) | Sets whether lines are drawn between rows and columns. |
| static ZebraStriping(…) | Sets whether alternating rows use a second background color (zebra striping). |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Controls