We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon