Summary
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.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- DataGridHelper
Syntax
[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(DataGrid))]
public static IDataGridColumnStylesHelper GetColumnStylesHelper(UIElement element)
Attributes
Type | Description |
---|---|
Category | |
Attached |
Parameters
Name | Type | Description |
---|---|---|
element | UIElement | UIElement to read ColumnStylesHelperProperty from. |
Return Value
Type | Description |
---|---|
I |
ColumnStylesHelper property value. |