i am trying to mask xamdatagrid fields so they accept a certain amount of characters. the below code works to an extent. My first problem is that when i enter data into this field, leave, then come back for edit it is hiding the text in the control. My second question would be how can i make this more generic to use with multiple fields as i have quite a few fields that need to allow only 50 characters in this grid.
thanks in advance
<igDP:Field Name="ID" Label="{Binding Path=Id, Source={x:Static Internationalization:CultureResources.CultureStrings}}"> <igDP:Field.Settings> <igDP:FieldSettings> <igDP:FieldSettings.EditorStyle> <Style TargetType="{x:Type igEditors:XamMaskedEditor}" > <Setter Property="Mask" Value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"/> </Style> </igDP:FieldSettings.EditorStyle> </igDP:FieldSettings> </igDP:Field.Settings> </igDP:Field>
Hello,
I am just checking your progress on the issue.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics
www.infragistics.com/support
you solution solved my problem.