I have a problem with WPF Textbox CaretIndex. On GotFocus or PreviewMouseLeftButtonDown or GotKeyboardFocus or PreviewGotKeyboardFocus I can't get CaretIndex value .It is always zero. After those events are occured on LostFocus for example I can get CaretIndex value. It seems that CaretIndex is setted after this events?
Can you help me? Thanks