- Namespace
- MahApps
.Metro .Controls - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DataGridHelper"]
class Type type-node
Syntax
public static class DataGridHelper
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedCheckBoxColumnEditingStyle property.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedCheckBoxColumnStyle property.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for normal cells.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedComboBoxColumnEditingStyle property.
If a style is set, the DataGridComboBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedComboBoxColumnStyle property.
If a style is set, the DataGridComboBoxColumn columns of the DataGrid will use this style for normal cells.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedHyperlinkColumnEditingStyle property.
If a style is set, the DataGridHyperlinkColumn of the DataGrid will use this style for cells in edit mode.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedHyperlinkColumnStyle property.
If a style is set, the DataGridHyperlinkColumn columns of the DataGrid will use this style for normal cells.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedNumericUpDownColumnEditingStyle property.
If a style is set, the DataGridNumericUpDownColumn of the DataGrid will use this style for cells in edit mode.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedNumericUpDownColumnStyle property.
If a style is set, the DataGridNumericUpDownColumn columns of the DataGrid will use this style for normal cells.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedTextColumnEditingStyle property.
If a style is set, the DataGridTextColumn of the DataGrid will use this style for cells in edit mode.
static
|
|
| Auto |
The DependencyProperty for the
DataGrid' AutoGeneratedTextColumnStyle property.
If a style is set, the DataGridTextColumn columns of the DataGrid will use this style for normal cells.
static
|
|
| CellPaddingProperty |
static
|
|
| Column |
static
|
|
| Column |
The DependencyProperty for the
DataGrid' ColumnStylesHelper property.
If the helper is set, the columns of the DataGrid will use the styles for the columns from the DataGridHelper' attached properties.
static
|
|
| Enable |
static
|
|
| Selection |
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
Style |
Helper for getting
AutoGeneratedCheckBoxColumnEditingStyleProperty from element.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedCheckBoxColumnStyleProperty from element.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for normal cells.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedComboBoxColumnEditingStyleProperty from element.
If a style is set, the DataGridComboBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedComboBoxColumnStyleProperty from element.
If a style is set, the DataGridComboBoxColumn columns of the DataGrid will use this style for normal cells.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedHyperlinkColumnEditingStyleProperty from element.
If a style is set, the DataGridHyperlinkColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedHyperlinkColumnStyleProperty from element.
If a style is set, the DataGridHyperlinkColumn columns of the DataGrid will use this style for normal cells.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedNumericUpDownColumnEditingStyleProperty from element.
If a style is set, the DataGridNumericUpDownColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedNumericUpDownColumnStyleProperty from element.
If a style is set, the DataGridNumericUpDownColumn columns of the DataGrid will use this style for normal cells.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedTextColumnEditingStyleProperty from element.
If a style is set, the DataGridTextColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Get |
Style |
Helper for getting
AutoGeneratedTextColumnStyleProperty from element.
If a style is set, the DataGridTextColumn columns of the DataGrid will use this style for normal cells.
static
|
| GetCellPadding |
Thickness |
Gets the padding inside the cell.
static
|
| Get |
Thickness |
Gets the padding inside the column.
static
|
| Get |
I |
Helper for getting
ColumnStylesHelperProperty from element.
If the helper is set, the columns of the DataGrid will use the styles for the columns from the DataGridHelper' attached properties.
static
|
| Get |
bool |
Gets a value which indicates the preview cell editing is enabled or not.
static
|
| GetSelectionUnit |
Data |
Gets the value to define the selection behavior.
static
|
| Set |
void |
Helper for setting
AutoGeneratedCheckBoxColumnEditingStyleProperty on element.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Set |
void |
Helper for setting
AutoGeneratedCheckBoxColumnStyleProperty on element.
If a style is set, the DataGridCheckBoxColumn of the DataGrid will use this style for normal cells.
static
|
| Set |
void |
Helper for setting
AutoGeneratedComboBoxColumnEditingStyleProperty on element.
If a style is set, the DataGridComboBoxColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Set |
void |
Helper for setting
AutoGeneratedComboBoxColumnStyleProperty on element.
If a style is set, the DataGridComboBoxColumn columns of the DataGrid will use this style for normal cells.
static
|
| Set |
void |
Helper for setting
AutoGeneratedHyperlinkColumnEditingStyleProperty on element.
If a style is set, the DataGridHyperlinkColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Set |
void |
Helper for setting
AutoGeneratedHyperlinkColumnStyleProperty on element.
If a style is set, the DataGridHyperlinkColumn columns of the DataGrid will use this style for normal cells.
static
|
| Set |
void |
Helper for setting
AutoGeneratedNumericUpDownColumnEditingStyleProperty on element.
If a style is set, the DataGridNumericUpDownColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Set |
void |
Helper for setting
AutoGeneratedNumericUpDownColumnStyleProperty on element.
If a style is set, the DataGridNumericUpDownColumn columns of the DataGrid will use this style for normal cells.
static
|
| Set |
void |
Helper for setting
AutoGeneratedTextColumnEditingStyleProperty on element.
If a style is set, the DataGridTextColumn of the DataGrid will use this style for cells in edit mode.
static
|
| Set |
void |
Helper for setting
AutoGeneratedTextColumnStyleProperty on element.
If a style is set, the DataGridTextColumn columns of the DataGrid will use this style for normal cells.
static
|
| SetCellPadding |
void |
Sets the padding inside the cell.
static
|
| Set |
void |
Sets the padding inside the column.
static
|
| Set |
void |
Helper for setting
ColumnStylesHelperProperty from element.
If the helper is set, the columns of the DataGrid will use the styles for the columns from the DataGridHelper' attached properties.
static
|
| Set |
void |
Sets a value which indicates the preview cell editing is enabled or not.
static
|
| SetSelectionUnit |
void |
Sets the value to define the selection behavior.
static
|
