Is there some kind of event to detect when DataGrid columns change (i.e., added, deleted) in Silverlight?
Well DataGrid.Columns is an ObservableCollection, so we can use dataGrid1.Columns.CollectionChanged+=Columns_CollectionChanged;
dataGrid1.Columns.CollectionChanged+=Columns_CollectionChanged;
But this is strange.
As far as I can see, there is no such event in the DataGrid itself. I think I would track the data source with which the DataGrid is bound and works from there. Hope this helps.
Source: https://habr.com/ru/post/1796477/More articles:Tasks for configuring CMake jobs - cmakepassword protecting button in ipad application - objective-cRegister HttpContext.User with Autofac - asp.net-mvcКак получить доступ к данным в выбранной строке struts jquery grid plugin? - jquerywhy can't we override the base class method with the private extended class method? - javaChrome extension: programmatic way to open popup.html from background.html? - javascriptAndroid - TTS missing voice - androidJUnit files not found - javaAdding a rule for jQuery validation plugin - jqueryCreating ctags working with CSS - cssAll Articles