Hey,
In the code below i have set the XamComboEditor to editable.I want to restrain the user in his possible input and noticed you can do this in various ways (regex,length,....)So I added a ValueConstraint which will limit the input to a maximum of 5 characters.When i run this code the user still can enter strings which are longer than 5 , i would expect an errormessage or a faultstate would be set. This is not the case.
My problem :This xaml code seems to work if I use the 7.2 beta dll's.When i use the 7.2 official release it doesn't.
Am i missing something, a property or setting ??
Greetz,
<Window x:Class="testSmartParty.Window1" xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:ig=http://infragistics.com/Editors Title="Window1" Height="300" Width="300"> <Window.Resources> <Style TargetType="{x:Type ig:XamComboEditor}"> <Setter Property="ValueConstraint"><Setter.Value> <ig:ValueConstraint MaxLength="5" /></Setter.Value></Setter></Style></Window.Resources>
<StackPanel> <ig:XamComboEditor x:Name="myCombo" IsEditable="True" >
</ig:XamComboEditor><ig:XamMaskedEditor> </ig:XamMaskedEditor> </StackPanel> </Window>
Hi,
This seems to be a bug in the control. We've entered it into our bug-tracking system. It will be fixed in a future hotifx. You can also report this issue to Infragistics tech support at http://es.infragistics.com/gethelp/ to get notified when the hotfix with the fix gets released.
Sandip