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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

.NET intellisense

Thread ID:





74310 Jun 6,2008 10:14 AM UTC Jun 10,2008 10:15 AM UTC WinForms 1
Tags: EditControl
Eric de la Rue
Asked On June 6, 2008 10:14 AM UTC


How can I fill the intellisense with default .NET classes. It means when I write "System." it shows me all classes/namespaces under "System".


Fathima Shalini P [Syncfusion]
Replied On June 10, 2008 10:15 AM UTC

Hi RCaroline,

Thank you for your interest in Syncfusion Products.

To retrieve the details like classes, methods and properties of a dll, we need to use Reflection to retrieve the details and display the ContextChoice in Edit control.

Please refer the below code snippet that illustrates this:

private void editControl1_ContextChoiceOpen(Syncfusion.Windows.Forms.Edit.Interfaces.IContextChoiceController controller)
String strPrefixForPath = @"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\";

string[] arAssemblyPath =
strPrefixForPath + str +"dll"
foreach (string str1 in arAssemblyPath)
objAssembly = System.Reflection.Assembly.LoadFrom(str1);
arOfTypes = objAssembly.GetTypes();

foreach (Type t in arOfTypes)

MethodInfo[] mInfo = t.GetMethods();

foreach (MethodInfo m in mInfo)
catch (Exception e)



catch (Exception e)


arOfTypes = null;
objAssembly = null;

Please refer the below sample for more details:


Note: As we are retrieving data using Reflection and adding to ContextChoiceList, it takes some time to populate the values in ContextChoiceList.

Please let me know if any concerns.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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