Click here to Skip to main content
15,909,539 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Binding Navigator Binding Problem Pin
Dave Kreskowiak26-Oct-07 2:12
mveDave Kreskowiak26-Oct-07 2:12 
QuestionUDL Files in Vb.net Pin
Saftaj25-Oct-07 0:29
Saftaj25-Oct-07 0:29 
AnswerRe: UDL Files in Vb.net Pin
Dave Kreskowiak25-Oct-07 3:40
mveDave Kreskowiak25-Oct-07 3:40 
GeneralRe: UDL Files in Vb.net Pin
Saftaj25-Oct-07 22:02
Saftaj25-Oct-07 22:02 
GeneralRe: UDL Files in Vb.net Pin
Dave Kreskowiak26-Oct-07 2:33
mveDave Kreskowiak26-Oct-07 2:33 
QuestionHow to create Properties Dynamically in Property grid Pin
Anuradha61225-Oct-07 0:15
Anuradha61225-Oct-07 0:15 
AnswerRe: How to create Properties Dynamically in Property grid Pin
Dave Kreskowiak25-Oct-07 3:37
mveDave Kreskowiak25-Oct-07 3:37 
AnswerRe: How to create Properties Dynamically in Property grid Pin
visualhint25-Oct-07 5:32
visualhint25-Oct-07 5:32 
Hi,

simply write a class implementing ICustomTypeDescriptor and drop it to the SelectedObject property. This class will take care of publishing the properties it wants. With .Net 2.0 you can also use the TypeDescriptionProvider so that you don't have to modify your existing class to make it implement ICustomTypeDescriptor. You will find some resources about this subject on the PropertyGrid Resource List.

If a commercial component is an option for you, you have also Smart PropertyGrid. It has a mode where you can simply call AppendProperty-like methods and fill the grid completely dynamicall without having to build separate TypeDescriptor classes.

I hope this helps.


GeneralRe: How to create Properties Dynamically in Property grid Pin
Dave Kreskowiak25-Oct-07 6:20
mveDave Kreskowiak25-Oct-07 6:20 
GeneralRe: How to create Properties Dynamically in Property grid Pin
visualhint25-Oct-07 6:36
visualhint25-Oct-07 6:36 
GeneralRe: How to create Properties Dynamically in Property grid Pin
Dave Kreskowiak25-Oct-07 7:03
mveDave Kreskowiak25-Oct-07 7:03 
AnswerRe: How to create Properties Dynamically in Property grid Pin
darkelv25-Oct-07 17:19
darkelv25-Oct-07 17:19 
GeneralRe: How to create Properties Dynamically in Property grid Pin
visualhint26-Oct-07 2:45
visualhint26-Oct-07 2:45 
QuestionPopulate Property Grid with Datatable rows Pin
danasegaranea24-Oct-07 23:10
danasegaranea24-Oct-07 23:10 
AnswerRe: Populate Property Grid with Datatable rows Pin
Dave Kreskowiak25-Oct-07 3:36
mveDave Kreskowiak25-Oct-07 3:36 
AnswerRe: Populate Property Grid with Datatable rows Pin
visualhint25-Oct-07 5:35
visualhint25-Oct-07 5:35 
GeneralRe: Populate Property Grid with Datatable rows Pin
danasegaranea25-Oct-07 18:20
danasegaranea25-Oct-07 18:20 
GeneralRe: Populate Property Grid with Datatable rows Pin
visualhint26-Oct-07 2:48
visualhint26-Oct-07 2:48 
Questionhow to close page when click open new page Pin
isis_preaw24-Oct-07 22:29
isis_preaw24-Oct-07 22:29 
AnswerRe: how to close page when click open new page Pin
Christian Graus24-Oct-07 22:40
protectorChristian Graus24-Oct-07 22:40 
QuestionHow to parse VBA script file in MFC ? Pin
Paresh Chitte24-Oct-07 20:49
Paresh Chitte24-Oct-07 20:49 
AnswerPlease don't cross post Pin
CPallini24-Oct-07 22:43
mveCPallini24-Oct-07 22:43 
Questionautomated mail Pin
accessred24-Oct-07 20:23
accessred24-Oct-07 20:23 
AnswerRe: automated mail Pin
Marek Grzenkowicz24-Oct-07 22:58
Marek Grzenkowicz24-Oct-07 22:58 
GeneralRe: automated mail Pin
accessred24-Oct-07 23:25
accessred24-Oct-07 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.