Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

About WPF DataGrid in .net4 (decompiling)

$
0
0

I'm currently working on a company complex code base that use the WPF datagrid. The code is totally coupled to the .net 4 wpf datagrid. 

I need to implement a transpose feature on this datagrid and after much work i finally did it.but TADA!!! the biggest bug in the world that simply cant be fixed since WPF datagrid is totally unoverridable... everything is private and internal instead of protected .. i need to change column and cells clipping on scroll from width clipping to height clipping when grid is transposed..

This column/cells clipping is done in private methods and its impossible for me to access or override so to fix the bug..

So my question is would it be legal to just extract parts of the wpf datagrid code and use it?? or at least just set private and internal stuff to virtual protected or public...so that i can extend?? 

I can't understand what the coders thoughts when coding this datagrid like that... its crazy FRAMEWORK SHOULD BE OVERRIDABLE !!!!


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>