Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150657 | Jan 15,2020 07:43 AM UTC | Jan 17,2020 09:04 AM UTC | WinForms | 2 |
![]() |
Tags: SfDataGrid |
// Wires RecordPropertyChanged event to update "Last Modified Date"
this.sfDataGrid1.View.RecordPropertyChanged += OnRecordPropertyChanged;
private void OnRecordPropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == "Name")
{
// Updates the "Last Modified Date"
this.sfDataGrid1.View.GetPropertyAccessProvider().SetValue(sender as DataRowView, "Last Modified Date", DateTime.Now);
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.