I suggest you ...

Lost_Focus event with e.Cancel to block the user

Add the boolean Cancel to the RoutedEventArgs for Lost_Focus so if set to true, it'll stay on the control to block the user until a valid value is entered.

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    GearGear shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • GearGear commented  · 

        I tried to perform a Control.Focus INSIDE the Lost_Focus. It works except when the user click with the mouse elsewhere, it freezes Silverlight. Have to kill it

      Feedback and Knowledge Base