DataGridHelper.

GetSelectionUnit(UIElement) Method

Summary

Gets the value to define the selection behavior.
Namespace
MahApps.Metro.Controls
Containing Type
DataGridHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(DataGridRow))]
[AttachedPropertyBrowsableForType(typeof(DataGridCell))]
public static DataGridSelectionUnit GetSelectionUnit(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
DataGridSelectionUnit