예제 #1
0
 private void SetKeyboardFocus()
 {
     if (_view == null) _view = GetView() as UserChatView;
     // GetView could return null
     if (_view != null) Keyboard.Focus(_view.Message);
 }
예제 #2
0
 private void ScrollToEnd()
 {
     if (_view == null) _view = GetView() as UserChatView;
     // GetView could return null
     if (_view != null)
         _view.ChatContent.ScrollToLine(_view.ChatContent.LineCount - 1);
 }