Thursday 30 May 2013

Commonly Used WPF Namespaces

Commonly Used WPF Namespaces

I have tried to compile a list of common WPF namespaces used in any WPF application. While developing my WPF application, I noticed some commonly and frequently used namespaces which I had to include in each and every file, so I tried to list them down in a single place in the form of an article.

If you are preparing for WPF interview, this article will surely help you as namespaces related questions are frequently asked in WPF interviews.

I have taken all the references of namespaces mentioned below from microsoft documentation.

If any common namespace is missing, you can mention them in comments below. So here goes the list of common WPF namespaces.

Provides types that enable integration of rich media, including drawings, text, and audio/video content in Windows Presentation Foundation (WPF) applications.

Related namespaces:


Provides access to a library of shapes that can be used in Extensible Application Markup Language (XAML) or code.

Provides types that support navigation, including navigating between windows and navigation journaling.

Provides types to support the Windows Presentation Foundation (WPF) input system.

The System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in in the Microsoft Windows operating system.

Contains types that support FixedDocument, FlowDocument, and XML Paper Specification (XPS) document creation.

Contains classes used for binding properties to data sources, data source provider classes, and data-specific implementations of collections and views.

Provides classes to create elements, known as controls, that enable a user to interact with an application. The control classes are at the core of the user's experience with any application because they allow a user to view, select, or enter data or other information.

Provides support for Windows Presentation Foundation (WPF) UI Automation clients.

Provides classes to interact with and manipulate ink on the Windows Presentation Foundation (WPF) platform.

Contains types that provide managed code access to the enhanced functionality of the Windows 7 taskbar.

This WPF namespace is used when you use INotifyPropertyChanged interface in your application.

This namespace is used to implement ObservableCollection in your WPF application.


No comments:

Post a Comment

About the Author

I have more than 10 years of experience in IT industry. Linkedin Profile

I am currently messing up with neural networks in deep learning. I am learning Python, TensorFlow and Keras.

Author: I am an author of a book on deep learning.

Quiz: I run an online quiz on machine learning and deep learning.