For the TextColumn you can set a style for the editor. The TextBox control exposes a MaxLenght property which determines the maximum number of characters allowed for the user input:
<Style TargetType="TextBox" x:Key="st"> <Setter Property="MaxLength" Value="5"/></Style>
<igGrid:TextColumn Key="Name" EditorStyle="{StaticResource st}" />
I hope this helps
Will this work for XamGrid ? I tried but it does not work.
<
UserControl.Resources>
<Style x:Key="DiggPanelDetail" TargetType="TextBox">
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFFFF098"/>
<GradientStop Color="#FFFFF9D4" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="RowStyle" TargetType="ig:ConditionalFormattingCellControl" >
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Background" Value="Gold" />
<Setter Property="AltBackground" Value="Gold" />
<Style TargetType="TextBox" x:Key="st">
<Setter Property="MaxLength" Value="21"/>
</UserControl.Resources>
.....
<ig:TextColumn Key="Serlnmbr" EditorStyle="{StaticResource st}" >
<ig:TextColumn.HeaderTemplate>
<DataTemplate>
<TextBlock Text="SerialNumber" />
</DataTemplate>
</ig:TextColumn.HeaderTemplate>
</ig:TextColumn>