IXRSlider (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

class IXRSlider : public IXRRangeBase

Methods

Method Description

IXRSlider::GetIsDirectionReversed

Retrieves a value that indicates the direction of incrementing the value for this slider control.

IXRSlider::GetIsFocused

Retrieves a value that determines whether this slider control has the UI focus.

IXRSlider::GetOrientation

Retrieves the orientation of this slider control.

IXRSlider::SetIsDirectionReversed

Sets a value that indicates the direction of incrementing the value for this slider control.

IXRSlider::SetOrientation

Sets a value that determines whether this slider control has the UI focus.

Remarks

An IXRSlider control lets a user select a value from a range of values. IXRSlider inherits additional methods from IXRRangeBase, including the methods used to add event handlers for the MaximumChanged, MinimumChanged, and ValueChanged events.

You can customize an IXRSlider control by setting its properties. The following list describes some the attributes of an IXRSlider that you can customize:

The UI events associated with a slider control belong to its base class IXRRangeBase and to the related IXRThumb control.

Note

Due to the precedence of how dependency properties are set, if the inherited Value property of the IXRSlider is animated, the user might no longer be able to set it when the animation finishes.

You can also define a slider control in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRUIElement

        IXRFrameworkElement

            IXRControl

                IXRRangeBase

                    IXRSlider

.NET Framework Equivalent

System.Windows.Controls.Slider

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for UI Element Management

Other Resources