Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NewItemMargin Property
Collapse the table of content
Expand the table of content

DataGrid.NewItemMargin Property

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
© 2015 Microsoft