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.

ContextChoice and LexemBeforeDropper

Thread ID:

Created:

Updated:

Platform:

Replies:

55954 Feb 7,2007 10:16 AM Feb 9,2007 06:16 PM Windows Forms 3
loading
Tags: EditControl
Administrator [Syncfusion]
Asked On February 7, 2007 10:16 AM

Hi,

What is the purpose of the IContextChoiceController.LexemBeforeDropper property?
I hoped that setting of this property will help me to define what text should be searched in the context choice list.
But seems that the text, which is being searched in context choice, is chosen internally, considering only whitespaces, operators or DropContextChoiceList property - it seems incorrect and does not give me opportnity to control lexem, being searched in the context list


Administrator [Syncfusion]
Replied On February 7, 2007 03:39 PM

Hi Olga,

IContextChoiceController.LexemBeforeDropper property returns the lexem before the Dropper which displays the ContextChoice. It is possible to control the lexem being searched in the ContextChoice list using the ContextChoiceUpdate event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

sample

Administrator [Syncfusion]
Replied On February 9, 2007 04:24 AM

ok, I've understood your point.
I have to organize my search, parallel to context choice internal.

On more related question:
Can I determine if showed context choice contains no items because the beginning of the word I've typed does not correspond to any item in the list? According to previous example - I need to do check item existence myself in Update event. Or a better way exists?

Administrator [Syncfusion]
Replied On February 9, 2007 06:16 PM

Hi,

It is possible to determine if the ContextChoice contains items using the IContextChoiceItem.Visible property in the ContextChoiceUpdate event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

sample

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.

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.

;