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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

setting new properties to custom controls in vb .net

Thread ID:

Created:

Updated:

Platform:

Replies:

3760 Apr 7,2003 03:06 AM UTC Apr 8,2003 07:07 PM UTC WinForms 1
loading
Tags: FAQ
Yogendra Patil
Asked On April 7, 2003 03:06 AM UTC

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.

Ramesh Praveen [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;