Occurs when the data model requires the error text of an item.
[Visual Basic] Public Event ErrorTextNeeded As DataGridViewModelErrorTextEventHandler [C#] public event DataGridViewModelErrorTextEventHandler ErrorTextNeeded; [C++] public: __event DataGridViewModelErrorTextEventHandler* ErrorTextNeeded;
The event handler receives an argument of type DataGridViewModelErrorTextEventArgs containing data related to this event. The following DataGridViewModelErrorTextEventArgs property provides information specific to this event.
Property | Description |
---|---|
ItemIndex | Gets a value indicating the item index of the property that raised the event. |
Text | Gets or sets the error message text for item-level errors. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
DataGridViewBindingModel Class | DataGridViewBindingModel Members | Wimark.Controls Namespace