Monday, November 23, 2015

WPF - Controls

Windows Presentation Foundation (WPF) allows developers to easily build and create visually enriched UI based applications.
  • The classical UI elements or controls in other UI frameworks are also enhanced in WPF applications.
  • All of the standard WPF controls can be found in the Toolbox which is a part of the System.Windows.Controls.
  • These controls can also be created in XAML markup language.
The complete inheritance hierarchy of WPF controls are as follows −
Hierarchy of WPF
The following table contains a list of controls which we will discuss in the subsequent chapters.
Sr. No.Controls & Description
1Button
A control that responds to user input
2Calendar
Represents a control that enables a user to select a date by using a visual calendar display.
3CheckBox
A control that a user can select or clear.
4ComboBox
A drop-down list of items a user can select from.
5ContextMenu
Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element.
6DataGrid
Represents a control that displays data in a customizable grid.
7DatePicker
A control that lets a user select a date.
8Dialogs
An application may also display additional windows to help the user gather or display important information.
9GridView
A control that presents a collection of items in rows and columns that can scroll horizontally.
10Image
A control that presents an image.
11Label
Displays text on a form. Provides support for access keys.
12ListBox
A control that presents an inline list of items that the user can select from.
13Menus
Represents a Windows menu control that enables you to hierarchically organize elements associated with commands and event handlers.
14PasswordBox
A control for entering passwords.
15Popup
Displays content on top of existing content, within the bounds of the application window.
16ProgressBar
A control that indicates progress by displaying a bar.
17RadioButton
A control that allows a user to select a single option from a group of options.
18ScrollViewer
A container control that lets the user pan and zoom its content.
19Slider
A control that lets the user select from a range of values by moving a Thumb control along a track.
20TextBlock
A control that displays text.
21ToggleButton
A button that can be toggled between 2 states.
22ToolTip
A pop-up window that displays information for an element.
23Window
The root window which provides minimize/maximize option, Title bar, border and close button
243rd Party Controls
Use third-party controls in your WPF applications.
We will discuss all these controls one by one with their implementation.

No comments:

Post a Comment