DataGridHelper.

GetAutoGeneratedCheckBoxColumnStyle(UIElement) Method

Summary

Helper for getting AutoGeneratedCheckBoxColumnStyleProperty from element. If a style is set, the DataGridCheckBoxColumn 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 GetAutoGeneratedCheckBoxColumnStyle(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to read AutoGeneratedCheckBoxColumnStyleProperty from.

Return Value

Type Description
Style AutoGeneratedCheckBoxColumnStyle property value.