DataGridHelper.

SetAutoGeneratedComboBoxColumnStyle(UIElement, Style) Method

Summary

Helper for setting AutoGeneratedComboBoxColumnStyleProperty on element. If a style is set, the DataGridComboBoxColumn 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 SetAutoGeneratedComboBoxColumnStyle(UIElement element, Style value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to set AutoGeneratedComboBoxColumnStyleProperty on.
value Style AutoGeneratedComboBoxColumnStyle property value.

Return Value

Type Description
void