GridViewExtensions class
Fluent extension methods for configuring GridView and GridViewColumn.
Guide: C# Markup guide
public static class GridViewExtensionsPublic Members
Section titled “Public Members”| name | description |
|---|---|
| static AddColumn<TItem>(…) | Adds a column using Auto, Star, or Pixel sizing. (9 methods) |
| static AutoWidth<TItem>(…) | Sets an Auto width together with its constraints. |
| static Bind<TItem>(…) | Sets the column cell template. |
| static Bind<TItem,TElement>(…) | Sets the cell template using delegate-based templating. (2 methods) |
| static Column<TItem>(…) | Creates a column definition. (4 methods) |
| static Columns<TItem>(…) | Adds one or more columns to the grid view. |
| static Header<TItem>(…) | Sets the column header text. |
| static IsResizable<TItem>(…) | Sets whether the column can be resized by dragging the header separator. |
| static ItemsSource<TItem>(…) | Sets ItemsSource to a view over the list. (2 methods) |
| static OnSortChanged(…) | Adds a sort changed event handler. |
| static PixelWidth<TItem>(…) | Sets a fixed pixel width together with its constraints. |
| static Resizable<TItem>(…) | Sets whether the column can be resized by dragging the header separator. |
| static SortBy<TItem,TKey>(…) | Enables sorting by a key selected from each row item. |
| static SortByColumn(…) | Applies an initial local single-column sort. |
| static SortWith<TItem>(…) | Enables sorting with a comparer over complete row items. |
| static StarWidth<TItem>(…) | Sets a Star width with the given weight together with its constraints. |
| static Template<TItem>(…) | Sets the cell template. Alias for Bind. |
| static Template<TItem,TElement>(…) | Sets the cell template using delegate-based templating. (2 methods) |
| static Text<TItem>(…) | Sets a text-based cell template that displays the result of textSelector. |
| static Width<TItem>(…) | Sets the column width. (3 methods) |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Controls