Summary
Add a new item to the underlying collection. Returns the new item.
After calling AddNew and changing the new item as desired, either
CommitNew or CancelNew" should be called to complete the transaction.
- Namespace
- Avalonia
.Collections - Containing Type
- Data
Grid Collection View
Syntax
public object AddNew()
Return Value
Type | Description |
---|---|
object | The new item we are adding |