DataGrid.NewItemMargin Property

.NET Framework (current version)

Gets or sets the margin for the new item row.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public Thickness NewItemMargin { get; private set; }

Property Value

Type: System.Windows.Thickness

The margin for the new item row.

The registered default is 0. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field


Metadata properties set to True


.NET Framework
Available since 4.5
Return to top