IsNewItem Property

DataGridRow.IsNewItem Property

.NET Framework (current version)
 

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
Available since 4.5
Return to top
Show:
© 2016 Microsoft