|
-
Jul 8th, 2008, 07:45 AM
#1
Thread Starter
Hyperactive Member
[2005] Inheritance Question
I am inheriting properties from Developer Express (www.devexpress.com) controls - And they're are two types of controls that have the same functionality but they are on two different levels -
What I am talking about is a DateEdit, and a RepositoryItemDateEdit - The DateEdit.Properties has all of the features of the RepositoryItemDateEdit - but the RepositoryItemDateEdit does not have the DateEdit's features -
Where I need help is that in a GridControl, you can only use a RepositoryItemDateEdit as an editor - and not the DateEdit control. Is there a way to have my object inherit one or the other? and just check for the type - Or do I have to do dual both of them, and make sure they match -
I'm trying to get the best way to complete this task - any help would be great - Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|