Occurs when the data model requires the error text of a property.
[Visual Basic] Public Event PropertyErrorTextNeeded As DataGridViewModelPropertyErrorTextEventHandler [C#] public event DataGridViewModelPropertyErrorTextEventHandler PropertyErrorTextNeeded; [C++] public: __event DataGridViewModelPropertyErrorTextEventHandler* PropertyErrorTextNeeded;
The event handler receives an argument of type DataGridViewModelPropertyErrorTextEventArgs containing data related to this event. The following DataGridViewModelPropertyErrorTextEventArgs property provides information specific to this event.
Property | Description |
---|---|
ItemIndex | Gets a value indicating the item index of the property that raised the event. |
PropertyName | Gets a value indicating the name of the property that raised the event. |
Text | Gets or sets the error message text for property-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