DataGridHelper.

SetColumnStylesHelper(UIElement, IDataGridColumnStylesHelper) Method

Summary

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.
Namespace
MahApps.Metro.Controls
Containing Type
DataGridHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(DataGrid))]
public static void SetColumnStylesHelper(UIElement element, IDataGridColumnStylesHelper value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to set ColumnStylesHelperProperty on.
value IDataGridColumnStylesHelper ColumnStylesHelper property value.

Return Value

Type Description
void