DataGridHelper.

SetCellPadding(DependencyObject, Thickness) Method

Summary

Sets the padding inside the cell.
Namespace
MahApps.Metro.Controls
Containing Type
DataGridHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(DataGrid))]
[AttachedPropertyBrowsableForType(typeof(DataGridRow))]
public static void SetCellPadding(DependencyObject element, Thickness value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element DependencyObject
value Thickness

Return Value

Type Description
void