2015-06-28から1日間の記事一覧
textboxなどをfocusするときに使う。また、以下の方法だとfocusしたい要素のFocusableプロパティは設定しなくてよい。 private void FocusItem(IInputElement item) { Dispatcher.BeginInvoke(DispatcherPriority.Input, new Action(delegate() { Keyboard.F…
textboxなどをfocusするときに使う。また、以下の方法だとfocusしたい要素のFocusableプロパティは設定しなくてよい。 private void FocusItem(IInputElement item) { Dispatcher.BeginInvoke(DispatcherPriority.Input, new Action(delegate() { Keyboard.F…