IXRSlider::SetIsDirectionReversed (Compact 2013)

3/28/2014

This method sets a value that indicates the direction of incrementing the value for this slider control.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetIsDirectionReversed(
    bool Value
) = 0;

Parameters

  • Value
    [in] Boolean that indicates the direction of incrementing the value for this slider control. Set this value to true if the direction of incrementing the value should be toward the left for a horizontal slider, or if the direction should be downward for a vertical slider. Otherwise, set this value to false.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value of Value determines the direction of incrementing a value for this slider control. For example, when a user moves the IXRThumb control along on a vertical slider while IXRSlider::GetIsDirectionReversed returns false, the Value of the IXRSlider increases. If you call SetIsDirectionReversed and pass in true, the Value of the IXRSlider decreases as the IXRThumb moves along the vertical slider.

.NET Framework Equivalent

System.Windows.Controls.Slider.IsDirectionReversed

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRSlider
IXRSlider::GetIsDirectionReversed