Occurs when the data model requires a value of a property that is not bound to the underlying data source.
[Visual Basic] Public Event ValueNeeded As DataGridViewModelValueEventHandler [C#] public event DataGridViewModelValueEventHandler ValueNeeded; [C++] public: __event DataGridViewModelValueEventHandler* ValueNeeded;
The event handler receives an argument of type DataGridViewModelValueEventArgs containing data related to this event. The following DataGridViewModelValueEventArgs 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. |
Value | Gets or sets the of the property that raised the event. |
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