DXCollectionView.ShowDetailNewItemForm(Boolean) Method
In This Article
Invokes a form used to create a new CollectionView item.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
#Declaration
C#
public void ShowDetailNewItemForm(
bool animated = false
)
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
animated | Boolean | False | Specifies whether animation effects apply to the edit form when it is invoked. |
#Remarks
The following example shows how to invoke the default Add new item form dialog:
private void Button_Clicked(object sender, EventArgs e) {
collectionView.ShowDetailNewItemForm();
}
For more information, refer to the following topic: Show Built-In Forms to Display, Create, and Edit Items.
See Also