誰かがWPFウィンドウにCommandLinkコントロールを追加する方法を教えてもらえますか?
これは私がCommandLinkによって意味するものです:http://msdn.microsoft.com/en-us/library/aa511455.aspx
誰かがWPFウィンドウにCommandLinkコントロールを追加する方法を教えてもらえますか?
これは私がCommandLinkによって意味するものです:http://msdn.microsoft.com/en-us/library/aa511455.aspx
WPFタスクダイアログラッパーCommandLink
は、ユーザーコントロールの実装を提供します。
コマンドリンクを表示する方法の例を次に示します。
TaskDialogOptions config = new TaskDialogOptions();
config.Owner = this;
config.Title = "RadioBox Title";
config.MainInstruction = "The main instruction text for the TaskDialog goes here.";
config.Content = "The content text for the task dialog is shown here "
+ "and the text will automatically wrap as needed.";
config.ExpandedInfo = "Any expanded content text for the task dialog "
+ "is shown here and the text will automatically wrap as needed.";
config.CommandButtons = new string[] {
"Command &Link 1", "Command Link 2\nLine 2\nLine 3", "Command Link 3" };
config.MainIcon = VistaTaskDialogIcon.Information;
TaskDialogResult res = TaskDialog.Show(config);
ライブラリは、Code ProjectOpenLicenseの下でライセンスされています。
セブンアップデートCommandLink
には、ボタンのもう1つの優れた実装があります。
これはどのように見えるかです:
これはGPLv3ライセンスの下でライセンスされたプロジェクトであることに注意してください。
このガイドも役立つかもしれません: