DataGridHelper.

GetAutoGeneratedNumericUpDownColumnStyle(UIElement) Method

Summary

Helper for getting AutoGeneratedNumericUpDownColumnStyleProperty from element. If a style is set, the DataGridNumericUpDownColumn 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 Style GetAutoGeneratedNumericUpDownColumnStyle(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to read AutoGeneratedNumericUpDownColumnStyleProperty from.

Return Value

Type Description
Style AutoGeneratedNumericUpDownColumnStyle property value.