Back to Devexpress

DXCollectionView.ShowDetailNewItemForm(Boolean) Method

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-dot-showdetailnewitemform-x28-system-dot-boolean-x29.md

latest1.5 KB
Original Source

DXCollectionView.ShowDetailNewItemForm(Boolean) Method

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

csharp
public void ShowDetailNewItemForm(
    bool animated = false
)

Optional Parameters

NameTypeDefaultDescription
animatedBooleanFalse

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:

csharp
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

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace