DataGridRow.IsNewItem Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: