ユーザ用ツール

サイト用ツール


it技術:dotnet:wpf開発

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
it技術:dotnet:wpf開発 [2017/11/10 17:51] – [表示文字幅の取得] yajuadminit技術:dotnet:wpf開発 [2017/11/17 17:12] – [Buttonのクリックイベントを発生させる] yajuadmin
行 126: 行 126:
 } }
 </code> </code>
 +
 +==== Buttonのクリックイベントを発生させる ====
 +WPFには、Windows FormにあったPerformClickメソッドが存在しない。\\
 +IInvokeProviderインターフェースを利用するには、参照の追加の参照マネージャーのアセンブリから「UIAutomationProvider.dll」を参照する。\\
 +[[http://blog.xin9le.net/entry/2013/10/27/195614|ボタンをプログラム側からクリックする]]\\
 +[[http://dobon.net/vb/dotnet/control/performclick.html|Buttonのクリックイベントを発生させる]]
 +
 +==== 最大化を禁止させる ====
 +<code csharp sample>
 +//最小化ボタンは有効、最大化ボタンは表示されてるけど、無効。
 +this.ResizeMode = ResizeMode.CanMinimize;
 +</code>
 +[[http://d.hatena.ne.jp/tako222/20090827/1251379855|WPFでGUIアプリケーションを作成する際のメモ その3]]
 ==== メモ ==== ==== メモ ====
   * [[https://stackoverflow.com/questions/632519/how-can-i-hide-the-header-of-a-listview-wpf|How can I hide the header of a listview WPF?]]   * [[https://stackoverflow.com/questions/632519/how-can-i-hide-the-header-of-a-listview-wpf|How can I hide the header of a listview WPF?]]
行 135: 行 148:
   * [[http://getbget.seesaa.net/article/436822830.html|WPF - DataGrid のデータ表示部分の背景色を変える]]   * [[http://getbget.seesaa.net/article/436822830.html|WPF - DataGrid のデータ表示部分の背景色を変える]]
   * [[http://hogetan.blog24.fc2.com/blog-entry-7.html|WPFでリサイズ可能な枠なしウィンドウを作成する]]   * [[http://hogetan.blog24.fc2.com/blog-entry-7.html|WPFでリサイズ可能な枠なしウィンドウを作成する]]
 +  * [[http://d.hatena.ne.jp/CoMo/20110421/1303394273|WPFのレイアウトのTips]]
it技術/dotnet/wpf開発.txt · 最終更新: 2018/01/17 18:19 by yajuadmin