I'm not able to compile the example on this page. The error is flagged as the compiler can't find the *Match* value/property in the *ComparisonOperator* class. FilterDropDownItem item; item = new FilterDropDownItem( new ComparisonCondition(ComparisonOperator.Match, "^[A-F]"), "A-F"); e.DropDownItems.Add(item);I've found other examples like this one so I'm guessing that it's supposed to work but that I'm confusing something, as I'm very new to Infragistics' software.There's even a graphical example at the site showing how the behavior renders to the screen. However, I'm not able to get the code to work for the reason specified above.Following up on suggestions from StackOverflow, I also tried to eliminate incorrect references by stating the namespaces veeery explicitly. The atrocious result is below. Infragistics.Windows.DataPresenter.FilterDropDownItem poc; poc = new Infragistics.Windows.DataPresenter.FilterDropDownItem( new Infragistics.ComparisonCondition(Infragistics.ComparisonOperator.Match, "a"), "a");
Hello Konrad,
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Horen
Software Developer
Infragistics
My appologies for not getting back to you. Yes, the reply did resolve my issue. If possible, I'd like you to reformat the code a bit so that it fits on the screen without a scroll bar. In fact, I've done the line breaking for you so you only need to paste it in. It'll help the next person.
Infragistics.Windows.DataPresenter.FilterDropDownItem item = new Infragistics.Windows.DataPresenter.FilterDropDownItem( new Infragistics.Windows.Controls.ComparisonCondition( Infragistics.Windows.Controls.ComparisonOperator.Match, "^[A-F]"), "A-F"); e.DropDownItems.Add(item);
I'm glad you solved your issue. I'll reformat the code from the answer.
Thank you for using Infragistics Components.