Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsNewItem Property

DataGridRow.IsNewItem Property

.NET Framework 4.6 and 4.5

Gets or sets a value that indicates whether the DataGridRow is a placeholder for a new item or for an item that has not been committed.

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

public bool IsNewItem { get; internal set; }

Property Value

Type: System.Boolean
true if the DataGridRow is a placeholder for a new item or for an item that has not been committed; otherwise, false.
The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field

IsNewItemProperty

Metadata properties set to true

None

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft