Back to Devexpress

ASPxCardView.CancelCardEditing Event

aspnet-devexpress-dot-web-dot-aspxcardview-1d6be429.md

latest2.1 KB
Original Source

ASPxCardView.CancelCardEditing Event

Enables you to prevent changes made within a card from being discarded.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxStartCardEditingEventHandler CancelCardEditing
vb
Public Event CancelCardEditing As ASPxStartCardEditingEventHandler

Event Data

The CancelCardEditing event's data class is ASPxStartCardEditingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
EditingKeyValueGets the processed card’s key value.

Remarks

The CancelCardEditing event is raised in the cases listed below:

The CancelCardEditing event enables you to prevent the ASPxCardView from being switched to browse mode. To do this, set the event parameter’s Cancel property to true.

See Also

StartEditCard(visibleIndex)

Card View

ASPxCardView Class

ASPxCardView Members

DevExpress.Web Namespace