ページ

Sunday, December 6, 2009

WPF Ribbon Application

As my next challenge, I tried creating a simple WPF Ribbon Application.
Using RibbonControlsLibrary, it's very easy to create Ribbon-designed application which looks like  Office 2007.
However, therefore the user would require high-level user experience, I think.

1. Starting the application.





2.Simple FontDialog & ColorDialog for WPF Application.





 *When a font is selected on the FontDialog, the font is supposed to be checked if it's available or not on WPF.
  That's because the incorrect-format-font causes the System.IO.FileFormatException.


3. Customizing the Skin on Application.




 *As the default skin, it seems there're 3 type ones: black, blue and silver.

4.ContextMenu on RichTextBox



 * The header is shown correctly, which means "IMEを開く"/"IMEを閉じる"-menu
   ,unless directly switching IME-Mode out of this application.... so far.
   ( I mean, I didn't add the Eventhandler for it. )

5.Showing the Most Recent used files a.k.a. MRU

 After saving a text on a file, and restarting application again, then the most recent used file(s) appears like following.
 unless either deleting the data by clicking "情報削除"-Button in "最近使ったファイル"-Group on "設定"-Tab
 or deleting the registry-key directly.





 MRU data is stored in Registry, "HKEY_CURRENT_USER\Software\<applicationName>\"
... Well, I hope the next .net framework, .net framework 4, has RibbonControlsLibrary.

PS: プログラミング前の印象とはうらはらに、リボンの実装ってとても簡単だった。。。

No comments:

Post a Comment