Partager via


Classes for UI Element Management (Windows Embedded CE 6.0)

1/6/2010

This section describes the classes that you can use for UI elements in Silverlight for Windows Embedded.

These include base classes for elements, classes for controls, and classes for panels and shapes.

You can use these classes to access and modify pre-existing named elements at run time that were parsed from the source XAML that defines the application UI. Or, you can use these classes to create new objects and custom controls for your Silverlight–based UI and add them to the visual tree.

Class Description

IXRBorder

Draws a border, background, or both around another object.

IXRButton

Represents a button control, which responds to the Click event raised by the inherited class IXRButtonBase.

IXRButtonBase

Represents the base class for all button controls, such as IXRButton, IXRRepeatButton, and IXRToggleButton.

IXRCanvas

Represents an area upon which you can explicitly position child objects by using coordinates that are in relation to the area.

IXRCheckBox

Represents a control that a user can select or clear.

IXRColumnDefinition

Defines a column in a grid object.

IXRComboBox

Represents a selection control that combines a non-editable text box and a pop-up list that contains a list box that lets users select an item from a list.

IXRComboBoxItem

Represents a selectable item that is contained in a combo-box control.

IXRContentControl

Represents a control with a single piece of content.

IXRContentPresenter

Represents how to display content inside a control.

IXRControl

Represents the base class for UI elements that use a control template to define their appearance.

IXRCustomUserControl

Provides a base class for implementing an interface for a custom user control.

IXRCustomUserControlBase

Provides an intermediate base class for a custom user control in Silverlight for Windows Embedded.

IXREllipse

Draws an ellipse.

IXRFrameworkElement

Represents a UI element that can be located in the element tree that belongs to a visual host. It provides a framework of common APIs for elements that participate in Silverlight layout.

IXRGlyphs

Represents a string of letters, characters, or symbols that is rendered with decorations defined by a specific font and style.

IXRGrid

Represents a flexible grid surface that consists of columns and rows.

IXRImage

Represents a control that displays an image.

IXRInline

Provides a base class for behavior of elements in inline flow-content.

IXRItemsControl

Represents a control that can be used to present a collection of items.

IXRItemsPresenter

Represents how items are positioned inside a control, usually an IXRItemsControl.

IXRLine

Draws a straight line between two points.

IXRLineBreak

Represents an inline element that causes a new line to begin in the content of a text container.

IXRListBox

Represents a control that contains a list of selectable items.

IXRListBoxItem

Represents a selectable item in a list box.

IXRPanel

Provides a base class for all panel elements. You can use panel elements as containers, to position and arrange child objects in your Silverlight–based application.

IXRPasswordBox

Represents a control for users to enter passwords.

IXRPath

Draws a series of connected lines and curves.

IXRPolygon

Draws a polygon. This is a connected series of lines that form a closed shape.

IXRPolyline

Draws a series of connected straight lines.

IXRPopup

Displays content over existing content.

IXRProgressBar

Represents a control that indicates the progress of an operation.

IXRRadioButton

Represents a button that allows a user to select a single option from a group of options.

IXRRangeBase

Represents an element that has a value in a specific range, such as the IXRScrollBar and IXRSlider controls.

IXRRectangle

Represents a rectangle shape, which is outlined with a stroke and uses a brush to fill its rectangular region.

IXRRepeatButton

Represents a repeat button control that raises its Click event multiple times, while that control is in a pressed state.

IXRRowDefinition

Defines a row in a grid object.

IXRRun

Represents a discrete section of formatted or unformatted text.

IXRScrollBar

Represents a control that provides a scrollbar that has a sliding Thumb whose position corresponds to a value.

IXRScrollViewer

Represents a scrollable region that can contain other UI elements.

IXRSelector

Represents a control that allows a user to select an item from a collection of items.

IXRShape

Represents the base class for shape elements, such as an ellipse, a path, and a rectangle.

IXRSlider

Represents a slider control that lets the user select from a range of values by moving an IXRThumb control along a track.

IXRStackPanel

Represents a surface that arranges child elements into a single line that can be oriented either horizontally or vertically.

IXRTextBlock

Provides a lightweight control for displaying small amounts of text content.

IXRTextBox

Represents a control that can be used to display single-format, multiline text.

IXRThumb

Represents a control that can be dragged by the user.

IXRToggleButton

Represents the base class for button controls that can switch states.

IXRToolTip

Represents a control that creates a small pop-up window that displays information for an element in the UI.

IXRUIElement

Represents the base class for the majority of objects in Silverlight that have visual appearance and can process basic user input.

IXRUserControl

Provides the base class for defining a new control that encapsulates related existing controls and provides its own logic.

IXRWin32Control

Represents a Win32 control in a Silverlight application.

See Also

Reference

Silverlight for Windows Embedded Classes

Other Resources