Matt

Matt

  • NA
  • 6
  • 0

Override private method? Reflection? Please Help!

Sep 23 2007 12:44 AM

Hi,

I am trying to override a private method and to make things worse, the call is buried in another private method (several actually). Specifically, I have a custom DataGrid class (inheriting DataGrid) and I want to somehow get to the PaintColumnHeaderText(Graphics g, Rectangle boundingRect) method. My goal is to change the bounding rectangle's position to vertically align the headers.

any help is appreciated! ^_^

-Matt


Answers (4)