Controles de Formulários do Windows e Controles WPF Equivalentes
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 |
Controle equivalente do WPF |
Remarks |
---|---|---|
No equivalent control. |
||
ListBox with composition. |
||
No equivalent control. |
||
ComboBox does not support auto-complete. |
||
TextBox and two RepeatButton controls. |
||
No equivalent control. |
||
No equivalent control. |
||
No equivalent control. |
||
Window does not support child windows. |
||
No equivalent control. |
No F1 Help. " O que é isto" Ajuda é substituída por dicas de ferramentas. |
|
Scrolling is built into container controls. |
||
No equivalent control. |
||
No equivalent control. |
You can use the Hyperlink class to host hyperlinks within flow content. |
|
The ListView control provides a read-only details view. |
||
No equivalent control. |
||
Menu control styling can approximate the behavior and appearance of the System.Windows.Forms.ToolStripProfessionalRenderer class. |
||
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. |
||
ToolBar with composition. |
||
ToolBar with composition. |
||
ToolBar with composition. |
||
ToolBar with composition. |
||
Scrolling is built into container controls. |
||
O Frame pode hospedar o controle HTML de páginas. Iniciando no .NET Framework 3.5 SP1, o System.Windows.Controls.WebBrowser controle pode hospedar páginas HTML e também faz o Frame de controle. |
Consulte também
Tarefas
Demonstra Passo a passo: Hospedando um controle Windows Forms no WPF
Referência
Conceitos
WPF Designer para desenvolvedores de formulários do Windows
Demonstra Passo a passo: Hospedando um controle composto do WPF no Windows Forms