XAML - Controls
The XAML User Interface framework offers an extensive library of controls that supports UI development for Windows. Some of them have a visual representation such Button, Textbox, TextBlock, etc.; while other controls are used as containers for other controls or content, for example, images. All the XAML controls are inherited from System.Windows.Controls.Control.
The complete inheritance hierarchy of controls is as follows −
Here is the list of controls which we will discuss one by one in this chapter.
|Sr. No.||Controls & Description|
A control that responds to user input.
Represents a control that enables a user to select a date by using a visual calendar display.
A control that a user can select or clear.
A drop-down list of items a user can select from.
Gets or sets the context menu element that should appear whenever the context menu is requested through a user interface (UI) from within this element.
Represents a control that displays data in a customizable grid.
A control that lets a user select a date.
An application may also display additional windows to the user to gather or display important information.
A control that presents a collection of items in rows and columns that can scroll horizontally.
A control that presents an image.
A control that presents an inline list of items that the user can select from.
Represents a Windows menu control that enables you to hierarchically organize elements associated with commands and event handlers.
A control for entering passwords.
Displays content on top of existing content, within the bounds of the application window.
A control that indicates progress by displaying a bar.
A control that indicates indeterminate progress by displaying a ring.
A control that allows a user to select a single option from a group of options.
A control that lets a user edit rich text documents with content like formatted text, hyperlinks, and images.
A container control that lets the user pan and zoom its content.
A control that lets a user enter search queries.
A control that lets the user select from a range of values by moving a Thumb control along a track.
A control that displays text.
A control that lets a user set a time value.
A button that can be toggled between 2 states.
A pop-up window that displays information for an element.
The root window which provides minimize/maximize option, Title bar, border and close button.
In this chapter we will discuss all these controls with implementation.