Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
800
Adding a ValueConstraint
posted

How can you add a value constraint to a a XamMultiColumnComboEditor ? It doesn't implement ValueEditor, so you cant apply as you would with a XamComboEditor...

var style = new Style(typeof(XamComboEditor));
style.Setters.Add(new Setter(ValueEditor.ValueConstraintProperty, constraint));
 
return new UnboundField
       {
           Settings =
           {
               EditorType = style.TargetType,
               EditorStyle = style
           }
       };

Is it possible to do similar with a XamMultiColumnComboEditor ?

Cheers
Jonathan