GridViewExtensions.Column<TItem> method (1 of 4)
이 콘텐츠는 아직 번역되지 않았습니다.
Creates a column definition.
public static GridViewColumn<TItem> Column<TItem>(string header, double width, IDataTemplate<TItem> template)| parameter | description |
|---|---|
| TItem | Item type. |
| header | Column header text. |
| width | Column width in DIPs. |
| template | Cell template. |
See Also
Section titled “See Also”- class GridViewColumn<TItem>
- interface IDataTemplate<TItem>
- class GridViewExtensions
- namespace Aprillz.MewUI.Controls
GridViewExtensions.Column<TItem> method (2 of 4)
Section titled “GridViewExtensions.Column<TItem> method (2 of 4)”Creates a column definition using delegate-based templating.
public static GridViewColumn<TItem> Column<TItem>(string header, double width, Func<TemplateContext, FrameworkElement> build, Action<FrameworkElement, TItem, int, TemplateContext> bind, Action<FrameworkElement, TItem, int, TemplateContext>? unbind = null)| parameter | description |
|---|---|
| TItem | Item type. |
| header | Column header text. |
| width | Column width in DIPs. |
| build | Template build callback. |
| bind | Template bind callback. |
| unbind | Optional template cleanup callback. |
See Also
Section titled “See Also”- class GridViewColumn<TItem>
- class TemplateContext
- class FrameworkElement
- class GridViewExtensions
- namespace Aprillz.MewUI.Controls
GridViewExtensions.Column<TItem> method (3 of 4)
Section titled “GridViewExtensions.Column<TItem> method (3 of 4)”Creates an Auto, Star, or Pixel column definition with width constraints.
public static GridViewColumn<TItem> Column<TItem>(string header, GridLength width, IDataTemplate<TItem> template, double minWidth = 0m, double maxWidth = Infinitym, bool resizable = true)See Also
Section titled “See Also”- class GridViewColumn<TItem>
- struct GridLength
- interface IDataTemplate<TItem>
- class GridViewExtensions
- namespace Aprillz.MewUI.Controls
GridViewExtensions.Column<TItem> method (4 of 4)
Section titled “GridViewExtensions.Column<TItem> method (4 of 4)”Creates an Auto, Star, or Pixel column definition using delegate-based templating.
public static GridViewColumn<TItem> Column<TItem>(string header, GridLength width, Func<TemplateContext, FrameworkElement> build, Action<FrameworkElement, TItem, int, TemplateContext> bind, Action<FrameworkElement, TItem, int, TemplateContext>? unbind = null, double minWidth = 0m, double maxWidth = Infinitym, bool resizable = true)See Also
Section titled “See Also”- class GridViewColumn<TItem>
- struct GridLength
- class TemplateContext
- class FrameworkElement
- class GridViewExtensions
- namespace Aprillz.MewUI.Controls