troubleshooting Question

Extending a class...

Avatar of gem56
gem56 asked on
Microsoft DevelopmentVisual Basic.NET
3 Comments1 Solution425 ViewsLast Modified:
hey guys,

i seem to be having some very fundamental mental blocks. im trying to extend the class System.Windows.Documents.Table so that i can create a few properties and methods for it. my problem is that i'd like to do the same for the TableColumn, TableRow and TableCell classes, however my problem is that for example the Table class has a TableColumnCollection property which is a collection of the Column class...so does this mean i have to extend the TableColumnCollection class with my own and add that property to my extended Table class...or is there an easier way to do this?

also, i havent worked with inheritance for a long long time, however from what i can remember when you inherit from a base class, constructors dont get inherited. is this right? simplest work around to create new constructors with the same parameters and call the mybase constructor?

cheers
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros