setting new properties to custom controls in vb .net

Hi Prakash, thankx for helping me with windows formborderstyle.i have implemented it and its working perfectly allright. I have a new Problem which is mentioned below. I have designed a custom control having a text box , a button and a listview control. I want to create a property say 'behaviour 'property.This behaviour property can take either of the 2 values "TextBox" or "combobox". when user selects "textbox" only the textbox control in the custom control is visible else all 3 controls in custom control are visible.

1 Reply

RP Ramesh Praveen Syncfusion Team April 8, 2003 07:07 PM UTC

Easiest way to do this is to create a new enum with the appropriate "behaviors" and then set the Behavior property to this enum. -Praveen

Loader.
Up arrow icon