New to Telerik UI for BlazorStart a free 30-day trial

Provides data for ListView CRUD operation events including create, edit, update, cancel, and delete actions. Contains information about the affected data item, operation type, and the ability to cancel the operation.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class ListViewCommandEventArgs : EventArgs

Inheritance: objectEventArgsListViewCommandEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public ListViewCommandEventArgs()

Properties

Controls whether the current CRUD operation should be cancelled and prevented from executing. Set to true to stop the operation based on validation, permissions, or business logic. Default value is false (operation will proceed).

C#
public bool IsCancelled { get; set; }

Indicates whether the affected item is newly created through the ListView user interface rather than an existing data item. Returns true for items created through OnCreate operations. Returns false for existing items being edited, updated, or deleted.

C#
public bool IsNew { get; set; }

Contains the data item affected by the CRUD operation that can be cast to your model type for property access. Cast to your specific model type to access strongly-typed properties and perform data validation.

C#
public object Item { get; set; }