Compartir a través de


IXRSlider::GetIsDirectionReversed (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsDirectionReversed(
    bool *pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to a Boolean that indicates the direction of incrementing the value for this slider control. This value is true if the direction of incrementing the value is toward the left for a horizontal slider, or if the direction is downward for a vertical slider. Otherwise, this value is false.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value of pValue 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 GetIsDirectionReversed returns false, the Value of the IXRSlider increases. If you call IXRSlider::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::SetIsDirectionReversed