Today, I continue research on wpf, and rewrite my map explorer to wpf version, I mention many problem that you can see at last article.
I found there is no ColorDialog in wpf application, and toolbar also doesn't work, I cann't add items, the add button is disable, I think maybe I should add ItemsSource first, it implement IEnmerable. When I fix that I will write detail resolution.
I list the Windows Forms Controls and Equivalent WPF Controls:
Many Windows Forms controls have equivalent WPF controls, but some Windows Forms controls have no equivalents in WPF. This topic compares control types provided by the two technologies.
You can always use interoperation to host Windows Forms controls that do not have equivalents in your WPF-based applications.
The following table shows which Windows Forms controls and components have equivalent WPF control functionality.
Windows Forms control | WPF equivalent control | Remarks |
No equivalent control. |
| |
| ||
| ||
| ||
| ||
No equivalent control. |
| |
| ||
No equivalent control. | Some capabilities of the DataGridView control are reproduced with the ListView and GridView controls. | |
No equivalent control. |
| |
TextBox and two RepeatButton controls. |
| |
No equivalent control. |
| |
WrapPanel or StackPanel |
| |
No equivalent control. |
| |
No equivalent control. |
| |
| ||
No equivalent control. | No F1 Help. "What's This" Help is replaced by ToolTips. | |
Scrolling is built into container controls. | ||
No equivalent control. |
| |
| ||
No equivalent control. | You can use the Hyperlink class to host hyperlinks within flow content. | |
| ||
No equivalent control. |
| |
Menu control styling can approximate the behavior and appearance of the System.Windows.Forms..::.ToolStripProfessionalRenderer class. | ||
No equivalent control. |
| |
No equivalent control. |
| |
TextBox and two RepeatButton controls. |
| |
The OpenFileDialog class is a WPF wrapper around the Win32 control. | ||
No equivalent control. |
| |
| ||
| ||
| ||
No equivalent control. |
| |
| ||
No equivalent control. |
| |
| ||
No equivalent control. |
| |
| ||
| ||
The SaveFileDialog class is a WPF wrapper around the Win32 control. | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
Scrolling is built into container controls. | ||
Frame, System.Windows.Controls..::.WebBrowser | ||
Starting in the .NET Framework 3.5 SP1, the System.Windows.Controls..::.WebBrowser control can host HTML pages and also backs the Frame control. Bottom of Form |