Updated: July 2008
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
Windows Presentation Foundation equivalent control
Remarks
BindingNavigator
No equivalent control.
BindingSource
CollectionViewSource
Button
CheckBox
CheckedListBox
ListBox with composition.
ColorDialog
ComboBox
ComboBox does not support auto-complete.
ContextMenuStrip
ContextMenu
DataGridView
Some capabilities of the DataGridView control are reproduced with the ListView and GridView controls.
DateTimePicker
DomainUpDown
TextBox and two RepeatButton controls.
ErrorProvider
FlowLayoutPanel
WrapPanel or StackPanel
FolderBrowserDialog
FontDialog
Form
Window
Window does not support child windows.
GroupBox
HelpProvider
No F1 Help. "What's This" Help is replaced by ToolTips.
HScrollBar
ScrollBar
Scrolling is built into container controls.
ImageList
Label
LinkLabel
You can use the Hyperlink class to host hyperlinks within flow content.
ListBox
ListView
The ListView control provides a read-only details view.
MaskedTextBox
MenuStrip
Menu
Menu control styling can approximate the behavior and appearance of the System.Windows.Forms..::.ToolStripProfessionalRenderer class.
MonthCalendar
NotifyIcon
NumericUpDown
OpenFileDialog
The OpenFileDialog class is a WPF wrapper around the Win32 control.
PageSetupDialog
Panel
Canvas
PictureBox
Image
PrintDialog
PrintDocument
PrintPreviewControl
DocumentViewer
PrintPreviewDialog
ProgressBar
PropertyGrid
RadioButton
RichTextBox
SaveFileDialog
The SaveFileDialog class is a WPF wrapper around the Win32 control.
ScrollableControl
ScrollViewer
SoundPlayer
MediaPlayer
SplitContainer
GridSplitter
StatusStrip
StatusBar
TabControl
TableLayoutPanel
Grid
TextBox
Timer
DispatcherTimer
ToolStrip
ToolBar
ToolStripContainer
ToolBar with composition.
ToolStripDropDown
ToolStripDropDownMenu
ToolStripPanel
ToolTip
TrackBar
Slider
TreeView
UserControl
VScrollBar
WebBrowser
Frame, System.Windows.Controls..::.WebBrowser
The Frame control can host HTML pages.
Starting in the .NET Framework 3.5 SP1, the System.Windows.Controls..::.WebBrowser control can host HTML pages and also backs the Frame control.
Date
History
Reason
July 2008
Added mention of the WebBrowser control.
SP1 feature change.