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.
Unfortunately, activation email could not send to your email. Please try again.

How to populate Intellisence popup in EditControl from Assemblies?

In Microsoft Visual Studio TextEditor Intellisense popup items will be configured from assemblies loaded in sample application. As like it, EditControl Intellisense popup can also be configured from user defined assemblies.

 

For example

 

This article will guide you to configure the same.

 

Step 1: Choose the required assembly from “Syncfusion\Essential Studio\[Installed Version]\precompiledassemblies\[Installed Version]\4.0\”

 

Step 2: Implement a Dialog window to display the list of Public class available in selected assembly.

 

Code Example: [C#]

 

 

Step 3: Need to add all the public Properties and Functions of selected class in dialog window.

 

Code Example: [C#]    

    

    

Step 4: Populate all Properties and Functions information in Context Choice Popup.    

    

This requirement can be achieved by handling ContextChoiceOpen, ContextChoiceBeforeOpen, ContextPromptOpen events in EditControl. The following code demonstrates the same.        

 

Code Example: [C#]     

    

 

Screenshot

 

Figure 1: Choose any Syncfusion assembly.

 

Figure 2: Select public Class file of selected assembly.

 

Figure 3: Public Properties in selected class will be listed in EditControl Intellisense popup.     

 

Figure 4: Public Functions with Parameter information in selected class will be listed in EditControl Intellisense popup.     

    

Sample:

 

C#: EditControlExample    

 

VB: EditControlSample

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
9122 08/10/2018 09/10/2018 Windows Forms EditControl 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.