2020-01-01から1年間の記事一覧
WPFで、ダブルクリックで編集可能になるTextBoxをつくりたいなーと思ったので作ってみた。Behaviorで、TextBoxのIsReadOnlyとFocusableを制御する作戦。 コードはこんな感じ。 using System; using System.Windows; using System.Windows.Controls; using Sy…
WPFで、ダブルクリックで編集可能になるTextBoxをつくりたいなーと思ったので作ってみた。Behaviorで、TextBoxのIsReadOnlyとFocusableを制御する作戦。 コードはこんな感じ。 using System; using System.Windows; using System.Windows.Controls; using Sy…