問題タブ [inputbinding]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
505 参照

wpf - InputBindings を使用した Style 内の TextBox ControlTemplate

ControlTemplate 内に InputBindings (Enter の KeyBinding) を持つ TextBox の WPF スタイルを作成しました。Style と InputBindings は TextBox に対して正常に機能していますが、この Style を TextBox に使用すると、TabOrder/TabStop が機能しなくなります。

これはスタイルです:

TextBoxes に追加する方法:

問題は、ControlTemplate 内で TextBox を使用していることだと思います。しかし、テンプレート内の TextBox なしで InputBindings を実行する方法がわかりません

何か考えはありますか?ありがとうフィル