Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

NewItemMarginProperty

Metadata properties set to True

None

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft