4
CommandLinkコントロールをWPFウィンドウに追加する方法を教えてもらえますか?WPFのCommandLink
これは私がのcommandLinkによって何を意味するかです:http://msdn.microsoft.com/en-us/library/aa511455.aspx
CommandLinkコントロールをWPFウィンドウに追加する方法を教えてもらえますか?WPFのCommandLink
これは私がのcommandLinkによって何を意味するかです:http://msdn.microsoft.com/en-us/library/aa511455.aspx
WPF Task Dialog Wrapperは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);
ライブラリは、コードプロジェクトオープンライセンスの下でライセンスされています。
Seven UpdateはCommandLink
ボタンの他の素敵な実装があります。 GPL v3のライセンスの下でライセンスプロジェクトです念頭に置いて
ベア:それはどのように見えるか
です。
このガイドでは、あまりにも役立つかもしれない:
Creating Command Link Controls in Silverlight with Expression Blend 3 and Behaviors
はコピーレフトライセンスなしでソリューションを消費する任意の少ない時間ありますか? ;) – OneWorld
@OneWorld私は別のライブラリで自分の答えを更新しました。あなたが役に立つと思っているものが見つかったり、分かち合いたいと思ったら、私の答えを編集することができます。 –
あなたの投稿をありがとう。私は自分のプロジェクトにライブラリをインポートしました。私はXAMLに ' 'を追加することができましたが、今では自分のニーズに合わせてテキストとアイコンを調整するのに苦労しています。私はまた、私のプロジェクトに図書館の代わりにソースプロジェクトを含めました。しかし、それでも私が調整する必要があるプロパティを保持することはできません。 –
OneWorld