MobileForms Toolkit Documentation

DetailView.ItemValidating Event

Occurs when the item is being changed.

public event ItemValidatingEventHandler ItemValidating;

Event Data

The event handler receives an argument of type ValidatingEventArgs containing data related to this event. The following ValidatingEventArgs properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
OldText Gets the original text of the item.
OldValue Gets the original value of the item.

Remarks

The event handler receives an argument of type ValidatingEventArgs. During this event the properties Text and Value of the Item cannot be set. Use NewText and NewValue of event arguments instead.

See Also

DetailView Class | Resco.Controls.DetailView Namespace