DataGridHelper.

SetSelectionUnit(UIElement, DataGridSelectionUnit) Method

Summary

Sets 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 void SetSelectionUnit(UIElement element, DataGridSelectionUnit value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value DataGridSelectionUnit

Return Value

Type Description
void