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
805
ValueConstraint allowing Space after reached the MaxLength Limit
posted

Hi,

We are using XamDataGrid and we have below style for the particular Column

<Style x:Key="DescMaxLengthKey" TargetType="Editors:XamTextEditor">

<Setter Property="ValueConstraint">

              <Setter.Value>

                <Editors:ValueConstraint MaxLength="40"/>

              </Setter.Value>

            </Setter>

          </Style>

Current Problem : User is not allowed to enter more than 40 characters,if they entering only alphabets or numbers.

But they can able to enter spaces after entering 40 characters.

Could you please help us to resolve this problem.

Thanks.