DataGridHelper.

SetAutoGeneratedTextColumnStyle(UIElement, Style) Method

Summary

Helper for setting AutoGeneratedTextColumnStyleProperty on element. If a style is set, the DataGridTextColumn columns of the DataGrid will use this style for normal cells.
Namespace
MahApps.Metro.Controls
Containing Type
DataGridHelper

Syntax

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

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to set AutoGeneratedTextColumnStyleProperty on.
value Style AutoGeneratedTextColumnStyle property value.

Return Value

Type Description
void