Edit

Share via


DataGridRow.IsNewItem Property

Definition

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.

public:
 property bool IsNewItem { bool get(); };
public bool IsNewItem { get; }
member this.IsNewItem : bool
Public ReadOnly Property IsNewItem As Boolean

Property Value

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.

Remarks

Dependency Property Information

Identifier field IsNewItemProperty
Metadata properties set to true None

Applies to